Menu Background

Hello! I would like to have background for my menu in the Home page, how can I do this?

I would like my Home page menu to be like in the other pages, where the background is always shown and not fading in.

Thank you!

Hello Yapsw,

do you know how you can edit CSS in a child theme or with a custom css plugin?

Edit this code width your backgroundcolor you want:

.site-header {
  background-color: #000;

.site-header.float-header {
  background-color: #000;

Please write wether this helps or if there are any other changes you might want. I just tested this in the firefox webdeveloper.

Kind regards,


No, it didn’t work. I edited the code in the child theme but nothing happened.

The menu that I want to change is only the menu of the Home Page because when I go to my site, it displays the Home Page but the menu is without background. The background only appears when I scroll down the page, but I don’t want that, I want the background to always be there.

Hope you can help me, Thanks!!


I think you need add the !important for the code above, ie:

.site-header {
  background-color: #000 !important;

That’s it! Thank you!! Solved