How can I make a non transparant header?

Hi Suppport,
My header has a white background but when scrolling the header is transparant. How can I make the header background non transparent? See www/janzaal.nl/vvt for the site.

Thanks in advance for your reply.

Hello,

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#masthead.site-header.float-header {
    background-color: white;
}

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

Kind Regards, Roman.

Hi support,

My question is similar… I am trying to add a black background to the header on the front page so the menu is easily seen before you start scrolling. Once you start scrolling all is well as it changes to black. I’d like the black background to be there before I start scrolling. Here’s my site: www.pixelprographicdesign.com.

Thanks,

Thanks Roman,

Exactly what I wanted.

Have a nice day.

Great, you are welcome! And have a nice day as well :slight_smile:

ejohnsonlbc, please create a new topic in order to make it easier to help you.

Kind Regards, Roman.