Jump to content

Change blog page background color in Pacific template?

Recommended Posts

On 5/31/2021 at 4:45 PM, thegingerlab said:

Site URL: https://www.thegingerlab.com/blog

Hey everyone,

Trying to change the background color of my blog page using custom code, but to no avail. I'm using the Horizon template of the Pacific family. Does anyone know how to do this? Any help much appreciated!

Cheers!

Add to Design > Custom CSS

/* blog background */
.collection-type-blog.view-list main#page, .collection-type-blog.view-list #siteWrapper {
    background-color: green;
}

 

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
On 6/1/2021 at 5:53 PM, tuanphan said:

Add to Design > Custom CSS


/* blog background */
.collection-type-blog.view-list main#page, .collection-type-blog.view-list #siteWrapper {
    background-color: green;
}

 

Worked like a charm, thank you! Also any idea how to add a background image instead of a simple color there? Tried this and that in that CSS code – nothing worked 🙂

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.