• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

selected tab css

Gabby

Well-known member
#1
Hello
I forgot how to do this but I need some css for selected tab text color. need dark text on what background.

Thanks

Gabby
 

Jake Bunce

XenForo moderator
Staff member
#2
EXTRA.css

Code:
.navTabs .navTab.selected .navLink
{
	color: red;
}
Or there is a property:

Admin CP -> Appearance -> Style Properties -> Header and Navigation -> Selected Tab
 

Gabby

Well-known member
#3
Thanks Jake. The selected tab property did not work so I thought I would do it by css as I've done before but forgot how. LOL
 

Jake Bunce

XenForo moderator
Staff member
#5

Russ

Well-known member
#6
This post shows the navbar CSS:

http://xenforo.com/community/threads/change-the-color.8749/#post-120671

Some of them have style properties, others don't. In either case you can always duplicate that CSS into the EXTRA.css template and set any colors you want using your own CSS definitions. It's best to use EXTRA.css instead of modifying the other .css templates.
Absolutely agree, I should of stated I don't agree with the way it's setup currently as I love style properties but they're limited when it comes to the navigation, my navigation is literally always in extra.css