Jump to content

Set background picture in blog section

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hi - I would like to have the same background picture on the blog page of my site as the rest of my site.

I have an ocean background throughout at www.hex-development.com but can't find how to put the same background on the blog page. Can anyone help please?

  • Solution
Posted

Add to Design > Custom CSS

body[class*="type-blog"] {
    background-image: url(https://images.squarespace-cdn.com/content/v1/635d0687434dcc204d74ef76/1673190846931-KDBD0SYH138LND6FWMAJ/unsplash-image-ZWPerNlqUu0.jpg?format=original);
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent !important;
    background-size: cover;
}
body[class*="type-blog"] .section-background, body[class*="type-blog"] .section-border, body[class*="type-blog"] section {
    background-color: transparent !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!)

  • 2 weeks later...

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.