-
Anonymous
Hey team,
I have given my website a dark background colour, using Customizer > Colour > Content. This is great for most of the website, but I want my Blog Posts and the Blog Archives to have a White Background.
I’ve tried this CSS, but it makes the entire website background go white and I only want the Posts white.
.inside-article { background-color: #FFFFFF; }
And this;
body.archive .content-area, body.is-singular .content-area { background-color: #FFFFFF; }
How do I give the Blog Posts a different Content Background Colour to the rest of the website.
Thanks
-
Alvind
Hi there,
Try this CSS:
body.single-post .site-content, body.archive .site-content { background-color: #ffffff; }
-
Anonymous
Thanks Alvind, that’s it.
-
Alvind
You’re welcome!
-
Anonymous
So sorry,
I have just checked the Archive page and it hasn’t changed the background to white. The single posts have worked, but the archive / news page still has the black background?body.single-post .site-content, body.archive .site-content { background-color: #ffffff; }
Thanks
-
Anonymous
I think I resolved this by reconfiguring background settings.
-
Alvind
Great to hear that, let me know if there is any other issues 😁
- You must be logged in to reply to this topic.