Shape 5

Joomla Templates => Incline - Club => : chriddo January 20, 2015, 11:23:02 AM



: Possible to change the highlight color in main menu?
: chriddo January 20, 2015, 11:23:02 AM
Please note that I would like to change the active main menu item to a white bold letter. This should be applied in the main menu ONLY.

I know that in the template settings you specify this ... but I would like the above to only be valid for the main menu. Possible to achieve?


: Re: Possible to change the highlight color in main menu?
: mikek January 21, 2015, 08:37:06 AM
Hello,

It could be done with some custom css. If you're just wanting the text to be bold and white you would need to apply your own css to the css in s5_flex_menu.css for this.


: Re: Possible to change the highlight color in main menu?
: chriddo January 21, 2015, 01:30:12 PM
Hello,

It could be done with some custom css. If you're just wanting the text to be bold and white you would need to apply your own css to the css in s5_flex_menu.css for this.

I have played around in the above css but I can not find the line where I control the highlight color when an item has been selected. I would like to have it white and bold.

I would appreciate your help very much as this is the last thing before the release of my site.


: Re: Possible to change the highlight color in main menu?
: mikenicoll January 22, 2015, 12:08:58 AM
Hello,

You can add something like this to the custom.css file and adjust or add any CSS as needed:

:
#s5_nav li.active span {
     font-weight: bold !important;
}


: Re: Possible to change the highlight color in main menu?
: chriddo January 25, 2015, 05:49:35 AM
Hello,

You can add something like this to the custom.css file and adjust or add any CSS as needed:

:
#s5_nav li.active span {
     font-weight: bold !important;
}

Thanks Mike, this works well. .... however if I click on a submenu to that main menu heading ...  the bold text is not inherited and thus becomes a "normal" text. Any ideas on how to update the code above?


: Re: Possible to change the highlight color in main menu?
: mikenicoll January 26, 2015, 05:59:03 PM
Hello,

The active coding will only trigger on a menu item if the page you are on is under that menu parent. On the Home Page for example it will only show if you have opted to have the "Home" menu item visible as that is the active menu item. Any further changes would require custom coding additions outside of what we provide via the forums.