Shape 5

Joomla Templates => Fresh Bistro - Club => : cspgsl November 15, 2016, 07:16:05 AM



: Menu Items colour
: cspgsl November 15, 2016, 07:16:05 AM
At http://businesssitedesign.com/services  I cannot find the setting to alter the hover colour of the main menu items.

Nor can I change the colour of the lists in the two side menus on that page.

 Please point me in the direction. Thanks,


: Re: Menu Items colour
: jonahh November 15, 2016, 02:27:11 PM
Hello,

It is actually set in the index.php file. Just look for the following code:

:
#s5_nav li:hover a, #s5_nav li.mainMenuParentBtnFocused a, #s5_login:hover, #s5_register:hover, #s5_search_wrap:hover, #subMenusContainer li a:hover, .s5_menu_overlay_subs #subMenusContainer li:hover a, #s5_bottom_menu_wrap ul.menu li a:hover, .highlightcolor1, .module_round_box-centered_highlight .s5_h3_first, .s5_tab_show_outer_wrap .-icons .s5_tab_show_slide_button_active .tabshowicons, .menu_title_cat, .jdGallery .slideInfoZone h2, #s5_contact_hours_near .overlay_outer:hover .chn, #s5_login:hover, #s5_register:hover


#s5_nav li:hover a, #s5_nav li.mainMenuParentBtnFocused a

and

#subMenusContainer li a:hover, .s5_menu_overlay_subs #subMenusContainer li:hover a

Are what the menu uses.



: Re: Menu Items colour
: cspgsl November 15, 2016, 02:45:22 PM
Thanks for the pointer.

Wouldn't it make more sense from a consistency point of view with all the S5 templates to control such features from a CSS file?


: Re: Menu Items colour
: jonahh November 16, 2016, 01:50:23 PM
We usually do that unless its a highlight color. All these CSS definitions are used for the highlight color and that's why they are in the index.php file.


: Re: Menu Items colour
: cspgsl November 17, 2016, 10:04:34 AM
Would a simple override.css file be appropriate when creating a new template? The developer could change the name to custom.css and make the changes he or she wants without having to search for each instance.

Just a thought  :)


: Re: Menu Items colour
: jonahh November 17, 2016, 11:57:19 AM
The only problem is that it has to be in a php file for the php code to output the user's color selection from the Vertex admin area for the highlight color or colors.