Hello, I adopted a site where I can not change the background color for the hover or a selected menu point.
Maybe you can help me with that?
I am using helix ultimate.
Can not change the background color for a hover or selected point in the menu
Accepted answer
Marked as the solutionyes, you have green background becuase in custom.css in line 39 you used that
.sp-megamenu-parent > li:hover > a {
background-color: #499c2d;
}
just change color code!
8 more replies
Hi
Thnaks for contacting us. You can use this CSS in your custom.css file. You can change the color code that you want to set.
.sp-megamenu-parent>li.active>a, .sp-megamenu-parent>li.active:hover>a {
background-color: #5fa497 !important;
}
-Regards.
Thanks, I also would like to change the colors for the hover effect, when I am over the menu point with my mouse and the underlining at the start page for Informations, Search and Links. Is it possible to get these informations as well?
Could you please give me a screenshot of that portion?
Add/Use that instead of above, is more universal:
.sp-megamenu-parent > li.sp-menu-item:hover {background:#17567A;}
and for submenu items / und auch für Untermenüpunkte:
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover {background:#17567A;}
Thanks Paul for you solution. That works fine.
Do you have an idea why just at the menu item "2. Pistole" it's still the green background.
... and do you know how I can change the color of the lon underline from "Informationen", "Suche" or "Links"?
Directly from head - no, but easy to check using browser tool - Code Inspector.
The green line is also from your custom.css file (line 22)
.sppb-addon-title {
border-bottom: 4px solid #499c2d;
width: 100%;
}
just change color code.
Hi
Is this solved now? If yes, you can then close this post by accepting the answer. And thanks Paul for helping him.