Jump to content

Same whole site background image with transparent header and footer

Recommended Posts

Can someone please assist with the code required to have a single background image run from the very top of the page to the bottom? This would also include the header and footer (i.e. the header and footer would be transparent so the background image runs seamlessly from top to bottom)?

Also I'd like the title heading of each page to have a different background image that would sit ON TOP of the overall page background image if that makes sense?

The overall background image I'm referring to is the image you see on the homepage behind the first block of text.

 

Any help would be greatly appreciated!!

Edited by alexkol
removal of certain data now that issue is resolved
Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You can add this code to Website > Website Tools > Custom CSS

/* Site background image */
body.homepage {
.section-background, .page-section, .section-border {
    background: transparent !important;
}}
body.homepage {
   background-image: url(https://cdn.pixabay.com/photo/2021/01/07/22/15/dandelion-5898546__340.jpg);
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center center;
   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!)

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.