Jump to content

Changing individual blog page on 7.1

Go to solution Solved by tuanphan,

Recommended Posts

I run a website with a significant visual element, and I am attempting to change the colour of an individual blog post. I found CSS solutions for people having this issue in 7.0, but haven't found anything for 7.1. 

I also tried inserting custom CSS that @tuanphan had posted elsewhere, but it did not work for me in this case. I am a CSS newbie, so it could be simply that I had issues finding the correct section-id when I inspected the elements on the page.

Your help would be so very appreciated!

The website is https://www.oursingingbodies.com/the-project and I would like the background of posts to be white but the most recent post (not yet published) to have a black background. 


Link to comment
  • Replies 5
  • Views 734
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 5/28/2024 at 8:31 PM, Jardena said:

Hi @tuanphan! Background of the entire page! I want to keep this one black, because it works a lot better aesthetically -- https://www.oursingingbodies.com/the-project/y022ie9c9qnduzg3a3y0afah5q76w6

but the rest of the blog white. 

You can use this code to Website > Website Tools > Custom CSS

body[class*="type-blog"].view-item:not(#item-6650c8ea8432932e0f801f49) article>section * {
    color: black !important;
body[class*="type-blog"].view-item:not(#item-6650c8ea8432932e0f801f49) article>section .section-background {
    background-color: white !important;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.