Jump to content

Parallax Overlapping Sections

Recommended Posts

Site URL: https://puma-hibiscus-cfk8.squarespace.com/

 

Hi there,

I found this tutorial about a parallax overlapping effect for sections:

https://library.superhi.com/posts/parallax-overlapping-sections-using-sticky-positioning

I tried it out, and it works almost fine. I have one problem: the effect starts overlapping the section although the content isn’t loaded completely. The smaller text gets cut at the end of every section. Anyone any idea how to fix it?

Thanks a lot for your help!

 

My code:

#siteWrapper section[data-section-id="621c9fa9c9e50e3f55a26b38"] {

position: sticky;

  position: -webkit-sticky;

  top: 0;

}

 

#siteWrapper section[data-section-id="621ca0171f61485008230187"] {

position: sticky;

  position: -webkit-sticky;

  top: 0;

}

 

#siteWrapper section[data-section-id="621c9fa9c9e50e3f55a26b38"] {

position: sticky;

  position: -webkit-sticky;

  top: 0;

}

 

#siteWrapper section[data-section-id="621ca0171f61485008230187"] {

position: sticky;

  position: -webkit-sticky;

  top: 0;

}

 

#siteWrapper section[data-section-id="621ca0dd94eb8b659e6d97e9"] {

position: sticky;

  position: -webkit-sticky;

  top: 0;

}

 

#siteWrapper section[data-section-id="621ca1d5a5cbf94bb9fffd14"] {

position: sticky;

  position: -webkit-sticky;

  top: 0;

}

 

#siteWrapper section[data-section-id="61eae59aeef95b3951e803e5"] {

position: sticky;

  position: -webkit-sticky;

  top: 0;

}

Link to comment
  • Replies 0
  • Views 451
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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.