Different Menu Background Color

Hi,
I removed the slider from front page because I wanted to add a form on it. So I placed a page as my homepage, put a background and a transparent menu. The thing is that I’d like that menu to be white in all pages but home page.

Is it possible to have one menu with different background colors?

this is my page: http://lasolanahotelrural.xyz

Hello,

Please try to use the following CSS code.

You can add CSS code in Dashboard → Appearance → Customize → Additional CSS (WordPress 4.7 and up).

body:not(.home) #masthead {
    background-color: white;
}

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

Kind Regards, Roman.

Hello there,

Try adding this extra CSS code to Appearance > Customize > Additional CSS from your site dashboard.


body:not(.home) .site-header {
  background-color: #fff;
}

body:not(.home) #mainnav .menu > li > a {
  color: #000;
}

Regards,
Kharis