Jump to content

eranga

Circle Member
  • Posts

    11
  • Joined

  • Last visited

Reputation Activity

  1. Like
    eranga reacted to Amelia__ in Parallax Scrolling in 7.1   
    Thanks for this thread! I was having the exact same issue but the updated code works great and doesn't reduce the quality of the images 😊
  2. Like
    eranga got a reaction from Amelia__ in Parallax Scrolling in 7.1   
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/scrollax@1.0.0/scrollax.min.js"></script> <script> $('.has-background').attr('data-scrollax-parent', 'true'); $('.has-background .section-background').attr('data-scrollax', 'properties: { translateY: "30%" }'); $.Scrollax(); </script> <style> .has-background {overflow: hidden;} </style> The above update #2 from https://schwartz-edmisten.com/blog/how-to-add-parallax-to-squarespace-7-1 seems to work fine without messing up the quality of the image
×
×
  • 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.