The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to Change Nav Bar Tab Hover Color
It appears the admin stylevar uses navbar_tab_selected_background as both the selected and the hover color. How can I get a different hover color then selected? I'm referring to the "forum" and "what's new" tabs...
Thanks! |
#2
|
||||
|
||||
Quote:
Find: Code:
.navtabs li.selected a.navtab { color:{vb:stylevar navbar_tab_linkhover_color}; background:{vb:stylevar navbar_tab_selected_background}; _background-image:none; position:relative; top:-{vb:stylevar navbar_tab_selected_top_width}px; padding-top:{vb:stylevar navbar_tab_selected_top_width}px; z-index:10; } |
#3
|
||||
|
||||
you will need to add some new css code
You can change the "selected" color in the stylevar. For hover color go to template additional.css Add the following, feel free to customize the color Code:
.navtabs li a.navtab:hover { color:#ffffff; /* Color of text for hover */ background-color:#000000; /* Color for background of button when hovered */ } background:url(hxxp://urltoimage.png) #000000 no-repeat; as opposed to background-color |
#4
|
|||
|
|||
Can I ask how you knew that would be located in that specific template? I never would have guessed that as it's not named anywhere close? I'd like to be able to hunt this stuff down on my own quickly if I can learn it : )
Thanks! --------------- Added [DATE]1292889310[/DATE] at [TIME]1292889310[/TIME] --------------- I've already done it the other way but this way is a good idea to change it too so I have less edit logging to do then it sounds like... Thanks! |
#5
|
||||
|
||||
He finds the css identifier with firebug then searches in templates to see where it is called. More than likely most styling is called in vbulletin-chrome.css
|
#6
|
|||
|
|||
Ok, got ya... Thanks!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|