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?

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

 

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation 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.

Buy me a coffee

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

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

You're very welcome.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation 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.

Buy me a coffee

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.