Cristina_VersoVisual Posted February 14, 2022 Share Posted February 14, 2022 Hello, 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. Here the link: https://verso-visual.squarespace.com/digital-tips psw: Sammy I will really appreciate any help, Thank you very much Link to comment
Caroline_Smith Posted February 14, 2022 Share Posted February 14, 2022 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! Squarespace Resources: How to Find Page Section IDs in any Browser, 6 Places to Add Custom Code to Your Squarespace Site, Generate a Product Comparison Table - Responsive and No Coding Required Link to comment
Solution paul2009 Posted February 15, 2022 Solution Share Posted February 15, 2022 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; } Did this help? Please give feedback by clicking an icon below ⬇️ meganheath and Cristina_VersoVisual 1 1 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
Cristina_VersoVisual Posted February 15, 2022 Author Share Posted February 15, 2022 6 minutes ago, paul2009 said: Try something like this: #page-section-6206ac631012ed11269e79fd .sqs-col-12 .sqs-col-5 { top: 34px; position: -webkit-sticky; position: sticky; } Did this help? Please give feedback by clicking an icon below ⬇️ Thank you very much Paul, it works great !!! Link to comment
paul2009 Posted February 15, 2022 Share Posted February 15, 2022 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment