Forum Support

 
Advanced Search


[1]

Offline gdesideri
Free Member
Posts: 9
Posted on: January 02, 2018, 05:37:44 AM

In templates area i've put orange color as Highlight1 and 2 (FB5501)

Main menu backgroud color is like red and not orange, i've try to look with firebug in css but without success... (image menu_back_color)

Where i have to do change to have only orange and not gradient for the main menu backcolor, the submenu backcolor and change this ?!?

And in the submenu, when it is opened... the hover must be white and not orange (menu_sub_back_color_hover)

Thanks
G.
Logged

Offline mikek
Free Member
Posts: 28743 WWW
Posted on: January 02, 2018, 08:10:00 AM

Hello,

It is supposed to do that and what is shown on the demo. It takes the highlight color and makes several variations of it for contrast. Those calls are in the template's index.php file, and most of the menu calls are found here:

#s5_nav li {
border-right:solid 1px #<?php echo change_Color($s5_highlightcolor1,'+75'); ?> !important;
background:#<?php echo change_Color($s5_highlightcolor1,'+60'); ?> !important;
}

#s5_nav li.mainMenuParentBtnFocused, #s5_nav li.mainMenuParentBtn:hover, #s5_nav li.active, #subMenusContainer div ul  {
background:#<?php echo change_Color($s5_highlightcolor1,'+100'); ?> !important;
}

#subMenusContainer div.s5_sub_wrap_lower ul, #subMenusContainer div.s5_sub_wrap_lower_rtl ul {
border:solid 1px #<?php echo change_Color($s5_highlightcolor1,'+75'); ?> !important;
}

You can adjust the +60, +100, etc. calls - those adjust the colors up and down in hex. I would not recommend making this change though as the template is designed to have this feature.
Logged

Offline gdesideri
Free Member
Posts: 9
Posted on: January 03, 2018, 03:37:59 AM

THANKS, DONE...WORK FINE!
Giacomo


Hello,

It is supposed to do that and what is shown on the demo. It takes the highlight color and makes several variations of it for contrast. Those calls are in the template's index.php file, and most of the menu calls are found here:

#s5_nav li {
border-right:solid 1px #<?php echo change_Color($s5_highlightcolor1,'+75'); ?> !important;
background:#<?php echo change_Color($s5_highlightcolor1,'+60'); ?> !important;
}

#s5_nav li.mainMenuParentBtnFocused, #s5_nav li.mainMenuParentBtn:hover, #s5_nav li.active, #subMenusContainer div ul  {
background:#<?php echo change_Color($s5_highlightcolor1,'+100'); ?> !important;
}

#subMenusContainer div.s5_sub_wrap_lower ul, #subMenusContainer div.s5_sub_wrap_lower_rtl ul {
border:solid 1px #<?php echo change_Color($s5_highlightcolor1,'+75'); ?> !important;
}

You can adjust the +60, +100, etc. calls - those adjust the colors up and down in hex. I would not recommend making this change though as the template is designed to have this feature.
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.021 seconds with 20 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.