Jump to content

background-attachment: fixed; causes jittery parallax scroll in Safari

Recommended Posts

Anyone know of a workaround? Scrolling in Chrome, and even in the dev window is lovely, but when live in Safari only is a mess. Complicating things is I've added a static background effect for some index images, sample below:

.collection-type-index #building-block {
  background-image: url("https://static1.squarespace.com/static/5d668c3fb154060001bbf0ba/t/5dea9ae54fc5135240ef736c/1575656167172/3a.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

Turning "fixed" to any other attribute resolves the scrolling, but need a static image. Help?

http://www.edfacgroup.org

Link to comment
  • Replies 0
  • Views 1.3k
  • Created
  • Last Reply

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.