Main Menu - Hover Text Colour Issue - Question | JoomShaper

Main Menu - Hover Text Colour Issue

CN

Chris Nichols

Helix Framework 2 years ago

Prior to the 2.0.3 update, the hover colour for main menu items was working. It is still working for dropdown menu items.

For some reason it is ignoring my custom.css file for this particular element.

Please see the screenshot below.

https://prnt.sc/1r47cb8

Any suggestions?

0
6 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #32262

Hi,

Use !important on your css and try again.

Please let me know is it working or not

-Thanks

0
J
johnny
Accepted Answer
2 years ago #32091

My custom.css file is also being ignored - sorry that's not much help! Could be a bug.

Add it into the template settings css?

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #32096

Hi,

Did you try here?

Template Option -> Custom Code -> Custom CSS

0
CN
Chris Nichols
Accepted Answer
2 years ago #32240

I tried as above, it doesn't make any difference.

I also tried using Template Option > Typography, whilst it does fix the hover color problem, it creates other problems by overriding my other CSS for the main menu. I have 26 lines of code in my custom CSS file for the main menu. Everything is working, except active and hover. Active and hover is working correctly in dropdown menus and in the offcanvas menu, and is using my custom css file.

By the way, I noticed a 2.0.4 upgrade was available, so I've installed it and it didn't fix the problem.

The below code is from by custom.css file, it worked perfectly up until the 2.0.3 release.

#sp-header .sp-megamenu-parent > li > a {font-weight: 400; font-family: 'open sans', sans-serif; font-size: 16px; color: #424242; }
.sp-megamenu-parent > li.active > a, .sp-megamenu-parent > li.active:hover > a { color: #00713d; }
.sp-megamenu-parent > li > a:hover, .sp-megamenu-parent > li:hover > a  { color: #00713d; }
0
CN
Chris Nichols
Accepted Answer
2 years ago #32312

Thanks Mehtaz, Problem fixed.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #32501

You are always welcome

0