Forum Support

Shape 5
March 28, 2024, 08:21:05 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Remove the hover background in Main Menu?  (Read 413 times)
frchr47
Jr. Member
**
Offline Offline

Posts: 2



« on: April 22, 2015, 07:16:41 AM »

Hi.

How can i remove the hover background in the Main Menu? Or at least change the color?

I have tried everything - both in the custom css and the backend settings  Undecided

Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: April 22, 2015, 04:18:46 PM »

Hello,

The Flex Menu hover color is echoed from your highlight color in the Template Manager. This coding in the index.php generates that hover color for the menu as well as other elements.

Code:
#s5_register:hover, #s5_login:hover, #s5_nav li .s5_level1_span1:hover, #s5_nav li.mainMenuParentBtnFocused .s5_level1_span1, a.readon:hover, a.pager:hover, button:hover, .button:hover, .pagenav a:hover, .s5_ls_readmore:hover, .readmore a:hover {
background:#<?php echo change_Color($s5_highlightcolor,'+35'); ?> !important;
}

So either change the highlight color or remove this part from the code:

Code:
#s5_nav li.mainMenuParentBtnFocused .s5_level1_span1
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
frchr47
Jr. Member
**
Offline Offline

Posts: 2



« Reply #2 on: April 23, 2015, 12:57:25 AM »

If i change/delete the highlight color in the template it just become black instead of red...

And now i have tried to delete the piece of code in the index.php and that doesnt work either :-(

Is there any css-kind-of-way to adjust it?
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: April 23, 2015, 08:27:52 PM »

Hello,

You would have to remove this part from the hover element provided above in the index.php file.

Code:
#s5_nav li .s5_level1_span1:hover, #s5_nav li.mainMenuParentBtnFocused .s5_level1_span1,

There isn't a way to do this via CSS unfortunately.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
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.