vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Navbar customization questions (https://vborg.vbsupport.ru/showthread.php?t=245988)

tcarr9 07-06-2010 12:53 PM

Navbar customization questions
 
1 Attachment(s)
I've been looking all through the various style vars and can't get anything that will let me change these two things in the nav bar. See the attached screenshot.

1. When I hover over one of the normal nav bar links it works great. When I hover over one of the ones that is a drop down, the background for that section of the nav bar changes color to the SAME color as the link color, so that I can't see the link any more. I don't mind the background changing color but I need to be able to specify a contrasting color for the text on it.

2. I would like the search box to either be taller or better centered. I've tried changing navbarsearch_padding and searchbox_size's height, but neither of them seem to do anything at all as far as I can tell.

Any advice would be greatly appreciated. Thanks in advance!

Qwk86gn 07-07-2010 07:01 PM

A couple things you can do to (fix) customize your needs.

1. You can place the following code in your additional.css for your style. It changes the font:hover color for the popupctrl.
Change "#ffffff" to whatever color you need.

Code:

.navtabs li.selected li:hover a.popupctrl {
  color:#ffffff;
}

2. Also add this code to your additional.css of your style. 8px is a good starting point but you can adjust as needed.

Code:

.globalsearch .textboxcontainer span {
  padding-top: 8px;
}


Hope that helps.

tcarr9 07-07-2010 07:16 PM

Fantastic! Thanks so much!

tcarr9 07-07-2010 07:41 PM

1 Attachment(s)
Spoke too soon. It works marvelously for hover, but when I click on the dropdown the text disappears again. Is there a similar fix I can do for that?

Qwk86gn 07-07-2010 08:14 PM

Ah forgot about that one.

Try adding this in additional.css also. Again change "#ffffff" to what ever suites your need.

Code:

.navtabs li.selected li:hover a.popupctrl.active,
.navtabs li.selected li a.popupctrl.active {
    color:#ffffff;
}


tcarr9 07-07-2010 08:23 PM

Woo hooo! Thanks so much!

Bram H 09-24-2011 01:57 AM

Have you guys figured out how to actually increase the height of the searchbox? My tabs are 80x40 in size and the searchbox is way too small :)


All times are GMT. The time now is 03:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00922 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete