I want the hover color of the text in the header to be gray or in gray tones. I tried changing it with CSS, but it didn’t work. Can you help me?
Staff replied
Templates
Header
3 replies
Mehtaz Afsana Borsha Staff
Hi
Thanks for contacting us. You can use this CSS in your custom.css file
.sp-megamenu-parent>li>a:hover{
color: gray !important;
}
-Regards.
Paul Frankowski Senior Staff
1 year ago
· edited
BTW
Remember to you have to keep good color contrast level to keep Web Accessibility, also if we talk about hover over Main Menu items and footer menu.
Typical grey could be too light for white background, consider using darker grey or even adding underline.
.sp-megamenu-parent > li > a:hover, #sp-footer ul li a:hover {
color: #616060 !important;
text-decoration: underline; }
Mehtaz Afsana Borsha Staff
Hi
Is this solved now? If yes, you can then close this post by accepting the answer.
Log in to reply.