Shape 5

Joomla Templates => Incline - Club => : SofLife March 10, 2016, 12:44:00 PM



: active mainMenuParentBtn class
: SofLife March 10, 2016, 12:44:00 PM
I am trying to apply a background color to the active state on sub pages but can't find where it is in the css. I know it is 'active  mainMenuParentBtn', but can't find that in any of the CSS files. Thanks for the help!


: Re: active mainMenuParentBtn class
: mikek March 11, 2016, 08:55:23 AM
Hello,

That's not defined in the css because this template doesn't use a background on the active item. If you want to add one that would be custom css, but the following class is what you would need:

#s5_nav li.active


: Re: active mainMenuParentBtn class
: SofLife March 11, 2016, 12:35:02 PM
Thanks, but that class seems to be covering the entire area (see link example below.) Is there a way to just cover the link area like it does on hover?

http://wcgpr.com/wcg/dh/index.php/member-resources/area-resources


: Re: active mainMenuParentBtn class
: mikek March 12, 2016, 07:28:07 AM
Hello,

You would do this then:

#s5_nav li.active .s5_level1_span1

I would highly suggest using Firebug so you can visually see the classes and layout used for these menu items.