Shape 5

Joomla Templates => Incline - Club => : frchr47 April 22, 2015, 07:16:41 AM



: Remove the hover background in Main Menu?
: frchr47 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  :-\



: Re: Remove the hover background in Main Menu?
: mikenicoll 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.

:
#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:

:
#s5_nav li.mainMenuParentBtnFocused .s5_level1_span1


: Re: Remove the hover background in Main Menu?
: frchr47 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?


: Re: Remove the hover background in Main Menu?
: mikenicoll 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.

:
#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.