Jump to content

How to create sticky blocks within sections for Squarespace 7.1

Recommended Posts

Posted (edited)

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
Posted
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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

  • 4 weeks later...
Posted

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

 

  • 11 months later...
Posted
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.

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.