Jump to content

Change background color on individual blog pages- Pazari Template

Recommended Posts

Hi - I'm currently using the Pazari template and the blog feature. I'd like be able to change the body background on particular posts without impacting every other blog post.  For example, I have a blog post titled "Website" with the slug "/portfolio/web" and I'd like to change the background of that post. Portfolio is the name of my blog set upI assume I would also put this under the custom CSS section?

Thanks!

Link to comment
  • Replies 7
  • Views 1.1k
  • Created
  • Last Reply

I am wondering a similar thing. I am trying to set up my blog posts with sections using different background colors. See the current post at https://onekindcreative.squarespace.com/podcast/katrinahopper. I have attached the design of what I am trying to accomplish. I know there is a lot of customization in the image, but I am specifically wondering how do I make some sections' background black, some sections light gray and some sections white? (I'd want this would be the same on every post) Thank you.

Screen Shot 2020-05-18 at 1.59.18 AM.png

Link to comment
20 hours ago, goosegoosegoose said:

@tuanphan

Hello! Here is an example page: https://coral-icosahedron-7rhx.squarespace.com/config/pages/5ea9e43c9d36302f95db172e PW: NOTREADY100 

I'd like to be able to make the background #e5e5e5 on some blog posts, and keep it white on the majority. Let me know if this is possible! 

Thank you!

/config is url for site owner..

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
35 minutes ago, goosegoosegoose said:

@tuanphan Sorry! Here you go: https://coral-icosahedron-7rhx.squarespace.com/portfolio/e-mail PW: NOTREADY100

Thank you!

Edit Page/post > Add Code Block > Insert code

<style>
  main#page .section-background {
    background: #e5e5e5 !important;
}
</style>

 

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

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.