Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-06-2010, 12:53 PM
tcarr9 tcarr9 is offline
 
Join Date: Jul 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Navbar customization questions

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!
Attached Images
File Type: jpg navbar.jpg (17.5 KB, 0 views)
Reply With Quote
  #2  
Old 07-07-2010, 07:01 PM
Qwk86gn's Avatar
Qwk86gn Qwk86gn is offline
 
Join Date: Jan 2009
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 07-07-2010, 07:16 PM
tcarr9 tcarr9 is offline
 
Join Date: Jul 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic! Thanks so much!
Reply With Quote
  #4  
Old 07-07-2010, 07:41 PM
tcarr9 tcarr9 is offline
 
Join Date: Jul 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Attached Images
File Type: jpg navbar2.jpg (11.0 KB, 0 views)
Reply With Quote
  #5  
Old 07-07-2010, 08:14 PM
Qwk86gn's Avatar
Qwk86gn Qwk86gn is offline
 
Join Date: Jan 2009
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
}
Reply With Quote
  #6  
Old 07-07-2010, 08:23 PM
tcarr9 tcarr9 is offline
 
Join Date: Jul 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Woo hooo! Thanks so much!
Reply With Quote
  #7  
Old 09-24-2011, 01:57 AM
Bram H Bram H is offline
 
Join Date: Jul 2007
Location: The Netherlands
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07120 seconds
  • Memory Usage 2,235KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (2)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete