Jump to content

Make page transparent to show CSS background image

Recommended Posts


I'm trying to get a fixed, full-width image onto my landing page. I added the CSS for the background image, but I can't make the page section's background transparent to show the image. Any help would be greatly appreciated!


This is the code I currently have injected in the page header:

  .header, #footer-sections {display:none!important}
/* homepage background */
  #page .page-section {
background: transparent!important

#page .page-section .section-background {
background: transparent !important;
body::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: '';
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;



Link to comment
  • Replies 1
  • Views 216
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Change this line

#page .page-section .section-background {
background: transparent !important;

to this

#page .page-section .section-background, .section-border, .section-divider {
background: 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.