How to set header color for blog posts

Hi there,

I have a transparent header on my homepage and managed to change get the background colour of my other sites with those 2 CSS codes:

    .page-id-123 #masthead {
      background-color: #209d9a;  
    }

    .blog #masthead {
       background-color: #209d9a;
    }

The page is under development but you can find it currently published here www.mind-x.co

But the header on each blog post is still transparent and I don’t know how to change this for all blog posts. How can I change the header color for all blog posts?

Your help is highly appreciated, thank you!

Hello there,

Thank you for contacting us about our theme Airi.

Please try this code:

    .page-id-123 #masthead {
       background-color: #209d9a !important;  
     }

     .blog #masthead {
        background-color: #209d9a !important;
     }

Regards,
Kharis
aThemes Support

Hi Kharis,

Thanks for your support but unfortunately it doesn’t work. The individual blog post have still the transparent header from the homepage.

Anything else we can try?

BR Rene

Hi Kharis,

Unfortunately it doesn’t work. Any other suggestion?

Thanks a lot.

BR Rene