Jump to content

Adding custom fixed background image to one page

Recommended Posts

  • Replies 3
  • Views 2k
  • Created
  • Last Reply
[data-section-id="5f60cc068db5a561fc5bac98"] .section-background {
    background-image: url(' ** LOCATION OF IMAGE ** ');
    background-size: cover;
    background-attachment: fixed;
}

You will need to add the url of the image. Also, I am not sure what you mean about changing the transparency.

Link to comment
18 minutes ago, rwp said:

[data-section-id="5f60cc068db5a561fc5bac98"] .section-background {
    background-image: url(' ** LOCATION OF IMAGE ** ');
    background-size: cover;
    background-attachment: fixed;
}

You will need to add the url of the image. Also, I am not sure what you mean about changing the transparency.

I tried injecting this (after adding in the link to my image) and it doesn't change anything. For clarification, I'm going to "Design" then "Custom CSS" and pasting it there. Am I doing something wrong?

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.