Jump to content

Is it possible to have a fixed background video within a specific page section?

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

This code should do it:


section[data-section-id="INSERT SECTION ID"]
.section-background {
 background:  url('INPUT SOURCE HERE');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: auto;
}
 

Edited by E-W
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.