Jump to content

Sticky image on scroll

Go to solution Solved by paul2009,

Recommended Posts

Hello there! I'm pretty certain what you're asking for is possible, but 1). it would require both CSS and JavaScript custom code, and 2). I think the page you linked above with the slug "/digital-tips" has been unpublished, so we can't investigate the issue. Can you publish it again?

Feel free to email me with any customization inquiries or questions you may have!

Free Squarespace Resources: DevTools Minicourse,  11-Step Guide to Improve Custom CSS, Free Product/Pricing Comparison Table Generator

Link to comment
  • Solution
20 hours ago, cristina.mrjn said:

I'm trying to make the image on the left sticky during the scroll (parallel to the summary block) and can't figure out the right css code. 

Try something like this:

#page-section-6206ac631012ed11269e79fd .sqs-col-12 .sqs-col-5 {
  top: 34px;
  position: -webkit-sticky;
  position: sticky;
}


e7GwHzt0DU.thumb.gif.8cba23c19556a332cffd741c532327bf.gif

Did this help? Please give feedback by clicking an icon below  ⬇️

 

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment
8 minutes ago, cristina.mrjn said:

Thank you very much Paul, it works great !!!

You're very welcome.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.