Jump to content

How to create sticky blocks within sections for Squarespace 7.1

Recommended Posts

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
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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 4 weeks later...
  • 11 months later...
38 minutes ago, brookehartnett said:

i also need help with this if anyone is able to point me in the right direction!

We need more context and details about the effect you want to achieve. Also please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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...

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.