To change the background color for the home page, without changing post bg color, you can add the following code to the style.css file:
.style-flat .wrap {
background: #000 !important;
}
.single .wrap {
background: #fff !important;
}
Hope this helps !
It doesn’t work completly, only the post bg changes.But it does when I add the following lines, without the “.style-flat”.wrap { background-color: #a8b1ba !important;}.single .wrap { background: #f8f8f8 !important;}Do you think the code is OK like this?Thanks again for your help Dominic !;)
Please send me your site for further checking.
I have checked on our demo with your css code, please use another color code (#f8f8f8). This color code (#f8f8f8) still is white color.
my site: http://www.lescampette.fr #f8f8f8 looks light grey to me (if I change it fo #fff with my viewer -firebug – it changes the color a little bit).
I have checked your site and I saw your site working fine now.
Hello again Dominic!
I just figure that the “Page” background changed with the homepage color background.
How can I change it separetly?
Thank you!
I think I found! I tried the following line, it seems to work:
.page .wrap {
background: #f8f8f8 !important;
}
You agree with this code?
😉
Please login or Register to submit your answer
replied 10 years ago
Or, is it possible to add a cover image in the flat style, so I could change both the homepage background and the post background separetly ?Thanks !!