Jump to content

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

Recommended Posts

Posted

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

  • Replies 0
  • Views 1.4k
  • 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.