Hoover color and background of sub menu

  1. How can I change the background color of a sub menu?
  2. How can I change the hoover color in a sub menu?


Please try to use the following CSS code.

You can add CSS code in DashboardAppearanceCustomizeAdditional CSS (WordPress 4.7 and up). Also you can add CSS code directly to style.css file of your child theme.

#header .main-navigation ul ul li {
    background-color: green;
#header .main-navigation ul ul li a:hover {
    color: red;

You can use other colors or color codes.

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Thanks Roman,

Works perfect.

You are welcome! :slight_smile:

Kind Regards, Roman.