Jump to content

Having only a part of a section scrolling

Recommended Posts

Posted (edited)

https://star-squid-8hw2.squarespace.com/ PASS : DGBEQWater2024

Hello all,

I'd like to scroll through the website normally, but when hitting a section, I want it to become fixed and having only one "div" scroll. When the div hits its bottom, then the scrolling continues normally.

I don't know If I'm clear. It's kind of a reverse "sticky" : the section have a normal size, with a div with a huge height on it and I want only this div to scroll, not the reste of the website.

I did an exemple on my website on this section : section[data-section-id="65a55d0d4578b91024360774"]

Let me know if I'm not clear, and sorry but I can't find any exemple anywhere (which tells me that it's impossible to do).

Thank you !

EDIT : an alternate solution can totally be that the background image of the section is fixed and the text is sticky to fake the fact that the section doesn't move as images scrolls, if it's more simple/understandable.

Edited by OlivierL
  • Replies 0
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.