Jump to content

How do I change the background colors just for blog entries? (Pacific Theme)

Recommended Posts

Site URL: https://healthcontentcollective.com/blog-entries/why-virtual-patient-communication-is-key

I'm currently using altnernating background colors for my index pages. However, for each blog entry I'd like the background to be the secondary color (white), not the primary background color (dark green). Client does not have a premium account, so code injection isn't possible at the moment. Is there a workaround? 

Link to comment
  • 8 months later...

@katelyn.benton did you ever manage to resolve this issue? I'm looking to do exactly the same for my site but having the same issues, even when injecting the code as per Derrick's suggestions, unfortunately. Thank you. 

Link to comment

@LChamberlain

Please post the URL for your blog entries on your site.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

@LChamberlain

Ah. Well the reason the code provided didn't work as it is for a v7.0 site using the Fulton template. Your site is v7.1.

Were you wanting to change the background of the entire page? The area around the blog entries themselves? The area around the blog list?

Just need a little more detail about what effect you are going for.

You can of course change the theme for a page section and customize the colors there. Keeping mind that if that theme is used elsewhere in the site those sections would change as well.

901296568_ScreenShot2021-04-05at5_25_59PM.png.71b38f963006decf21e27ae03306c9e1.png

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
On 4/6/2021 at 6:40 AM, LChamberlain said:

Thanks @creedon here it is. I have literally just changed all of my images to align the background with the new colour (vs white as desired) so it isn't as urgent now but would still love to know how to make it work. This is the link the blog entries and it's public. Thank you. https://www.poolcareonline.com.au/blog

Have you solved it yet?

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
  • 9 months later...
On 1/15/2022 at 5:50 AM, visualcreative said:

I would like to know how to change the blog post background colour, and have a different colour for the side-by-side alternating blog index, i.e., in 7.1, "Bright 2" for the index and "Lightest 1" for the blog posts themselves.

Can you share link to a blog post? We can check easier

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
  • 1 year later...
On 3/6/2023 at 9:30 PM, sekan said:

I want to be able to update the background and heading/paragraph text color on specific blog posts, but also a blog category, or tag. For instance I want to change the background on this page to red. And the Heading and paragraph to white. https://www.jiwajiwa.com/blog/2017/1/20/jiwa-jiwa-radio-01-at-red-light-radio-10-01-2017 I'm on 7.1

Edit this post > Add a Code Block (any where) > Paste this code

<style>
  .blog-item-wrapper {
    background-color: red;
}
.blog-item-wrapper * {
    color: white !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
  • 2 weeks later...
On 3/6/2023 at 9:30 PM, sekan said:

I want to be able to update the background and heading/paragraph text color on specific blog posts, but also a blog category, or tag. For instance I want to change the background on this page to red. And the Heading and paragraph to white. https://www.jiwajiwa.com/blog/2017/1/20/jiwa-jiwa-radio-01-at-red-light-radio-10-01-2017 I'm on 7.1

The url doesn't work now. Can you check it again?

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
1 hour ago, sekan said:

Try this code

 <style>
.blog-item-wrapper {
  background-color: #e48924;
}
.blog-item-wrapper * {
   color: black !important;
}           
   header#header, footer.sections .section-border, footer.sections .section-background, section#itemPagination {
    background-color: #e48924 !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

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.