Change color submenu

Hi,

I tried to change the submenu color of the navbar and used this code:

.x-navbar .desktop .sub-menu a {
color: #00537f; !important;
}

.x-navbar .desktop .sub-menu a:hover {
color: #00537f; !important;
}

But it didn´t work.
Do you now how to change submenu-background, text-color and hover-color?

Thanks

Hello Anna,

Thanks for asking. :slight_smile:

The code you have shared and to verify I checked the website, actually there’s syntax error and that’s why you are not seeing the changes. Please remove the ; between #00537f and !important. Here’s the code that you can use:

.x-navbar .desktop .sub-menu a {
color: #00537f !important;
}

.x-navbar .desktop .sub-menu a:hover {
color: #00537f !important;
}

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.