Specific Mainnav - hover state color

Hi!

Due to the color configuration of the web ( http://2603219-0.web-hosting.es/wordpress ) i want to change the color of the hover state in the main nav, without changing the “primary color”.

Is there a way this could be done? :slight_smile:

Thanks!

Hi,

You can change the main menu’s hover color with this Custom CSS:

#mainnav ul li a:hover {
    color: red !important;
}

Add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also use this plugin to add the CSS to it: https://wordpress.org/plugins/simple-custom-css/ so you will not loose the changes on theme updates.

Please let me know how it works.

Best Regards,
Csaba

Perfect, Thanks! :slight_smile:

Hi,

Great! You’re most welcome! If you need help with anything else, please, feel free to open a new topic.

Have a nice day!

Best Regards,
Csaba