Jump to content

How to change the color of background for blog posts only

Recommended Posts

Site URL: https://www.wholelifesolutions.biz

I am looking to change the background color of only the blogpost pages on our site.

There is another thread which deals with this issue, I posted my question there also, but thought I might get a faster answer to start a new thread. I followed the instructions that I found on this thread: 

Which basically shows to go into the design and post the code in this fashion:

#post-5fbc6c1172f8b574a0e3959c {

  background-color: red;
  

I managed to do this however the margins on the site remain orange. The site background is an orange color, but for the blog posts only we would like it to be white.

The progress that I made can be seen on this page: 

https://www.wholelifesolutions.biz/blog/waffles-noodles-and-why-its-actually-a-good-thing-he-doesnt-give-a-damn-about-the-color-of-the-linens

It looks terrible right now. Can someone tell me how to make the margins white as well?

Additionally, this way of going means that I will need to find the post-id and inject the css for every single blog post we will make. I would be interested in knowing if there is a more global solution that would allow for all of the blog posts to be white in the background.

Thank you.

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

On 2/26/2022 at 7:06 AM, SeventhSense said:

Site URL: https://www.wholelifesolutions.biz

I am looking to change the background color of only the blogpost pages on our site.

There is another thread which deals with this issue, I posted my question there also, but thought I might get a faster answer to start a new thread. I followed the instructions that I found on this thread: 

Which basically shows to go into the design and post the code in this fashion:

#post-5fbc6c1172f8b574a0e3959c {

  background-color: red;
  

I managed to do this however the margins on the site remain orange. The site background is an orange color, but for the blog posts only we would like it to be white.

The progress that I made can be seen on this page: 

https://www.wholelifesolutions.biz/blog/waffles-noodles-and-why-its-actually-a-good-thing-he-doesnt-give-a-damn-about-the-color-of-the-linens

It looks terrible right now. Can someone tell me how to make the margins white as well?

Additionally, this way of going means that I will need to find the post-id and inject the css for every single blog post we will make. I would be interested in knowing if there is a more global solution that would allow for all of the blog posts to be white in the background.

Thank you.

It looks fine to me?

Did you solve?

https://www.wholelifesolutions.biz/blog/waffles-noodles-and-why-its-actually-a-good-thing-he-doesnt-give-a-damn-about-the-color-of-the-linens

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 9 months later...
On 12/9/2022 at 11:56 PM, Phil84vaive said:

On posts like this, if you solve it, can you share your solution for people who are searching for it? That's kind of the point of a forum...

Depend on your template. If you share link to a blog post on your site, we can give some code to achieve this

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.