Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

How to create sticky blocks within sections for Squarespace 7.1


lyteside

Question

Site URL: https://lyteside.squarespace.com/sandbox

Password: iloveunicorns

I am looking for a way to target blocks within sections, and have them be stickied until they collide with a new row or the end of the section. In the link posted, for instance, I'd like the first image "beautiful, emotional, story" to sticky on the page while the user scrolls down to read the text. Then it will go out of view once reaching the bottom of the section.

Thanks in advance for your help!

Edited by lyteside
Link to comment

5 answers to this question

Recommended Posts

  • 0
8 hours ago, lyteside said:

Site URL: https://lyteside.squarespace.com/sandbox

Password: iloveunicorns

I am looking for a way to target blocks within sections, and have them be stickied until they collide with a new row or the end of the section. In the link posted, for instance, I'd like the first image "beautiful, emotional, story" to sticky on the page while the user scrolls down to read the text. Then it will go out of view once reaching the bottom of the section.

Thanks in advance for your help!

That can be done using css position sticky, what is your site url

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 0

@lyteside Your website uses multiple effects. Where did you find the css code snippets, or how did your wrote the code for the effects? Really like the way your website is behaving when scrolling down!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...