scdavid Posted February 24, 2022 Share Posted February 24, 2022 (edited) Site URL: https://www.morethanwords.nz/preorder Hi, I'm looking to have the sticky scroll section for my 1 product page. My aim is to have the Image (section 1) on one side, and the below text (section 2) on the other side. Something similar to this page (which is Squarespace's default product page): https://www.morethanwords.nz/store/p/imagerycards or https://www.charliee.com/paintings/2020 Unfortunately the default product page doesn't offer much customisation when it comes to the text on the side .etc How do I go about this? I'm not amazing at code so simple steps would be helpful! Edited February 26, 2022 by scdavid Hiding password for future reasons Beyondspace 1 Link to comment
Beyondspace Posted February 24, 2022 Share Posted February 24, 2022 23 minutes ago, scdavid said: Site URL: https://www.morethanwords.nz/preorder Site pass: 12345 Hi, I'm looking to have the sticky scroll section for my 1 product page. My aim is to have the Image (section 1) on one side, and the below text (section 2) on the other side. Something similar to this page (which is Squarespace's default product page): https://www.morethanwords.nz/store/p/imagerycards or https://www.charliee.com/paintings/2020 Unfortunately the default product page doesn't offer much customisation when it comes to the text on the side .etc How do I go about this? I'm not amazing at code so simple steps would be helpful! Charliee combine gallery block and text block to achive this For your site, can you share it with protected password so we can take a look? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
scdavid Posted February 24, 2022 Author Share Posted February 24, 2022 2 minutes ago, bangank36 said: Charliee combine gallery block and text block to achive this For your site, can you share it with protected password so we can take a look? Hi there, it is. Password 12345. Link to comment
Beyondspace Posted February 24, 2022 Share Posted February 24, 2022 I'll PM for checking it scdavid 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
Beyondspace Posted February 25, 2022 Share Posted February 25, 2022 You can try the following code in Home > Design > Custom Css section[data-section-id="60bb260f6ac2b824043356a2"] .sqs-layout > .row > .col:first-child { position: sticky; top: 90px; } Let me know how it works scdavid 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
scdavid Posted February 26, 2022 Author Share Posted February 26, 2022 22 hours ago, bangank36 said: You can try the following code in Home > Design > Custom Css section[data-section-id="60bb260f6ac2b824043356a2"] .sqs-layout > .row > .col:first-child { position: sticky; top: 90px; } Let me know how it works Worked a treat for desktop! Sorry to add another problem, whilst scrolling on mobile, the text can be seen behind. Not a major problem, but any chance of the text not being seen? Thank you so much already, legend! Link to comment
tuanphan Posted February 27, 2022 Share Posted February 27, 2022 On 2/26/2022 at 2:39 PM, scdavid said: Worked a treat for desktop! Sorry to add another problem, whilst scrolling on mobile, the text can be seen behind. Not a major problem, but any chance of the text not being seen? Thank you so much already, legend! You can disable code on mobile only by use this new code @media screen and (min-width:768px) { section[data-section-id="60bb260f6ac2b824043356a2"] .sqs-layout > .row > .col:first-child { position: sticky; top: 90px; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
scdavid Posted February 27, 2022 Author Share Posted February 27, 2022 11 hours ago, tuanphan said: You can disable code on mobile only by use this new code @media screen and (min-width:768px) { section[data-section-id="60bb260f6ac2b824043356a2"] .sqs-layout > .row > .col:first-child { position: sticky; top: 90px; } } Hi there, Thanks for your input. Just tried the code and it doesn't make any change to mobile unfortunately 😞 Link to comment
tuanphan Posted March 3, 2022 Share Posted March 3, 2022 On 2/28/2022 at 4:03 AM, scdavid said: Hi there, Thanks for your input. Just tried the code and it doesn't make any change to mobile unfortunately 😞 I meant remove code you used & add the code I sent. It will work on desktop + tablet only Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
SierraA Posted March 28, 2023 Share Posted March 28, 2023 Hi, I am looking to have the right side of the page fixed, and the left side with the images scrollable. https://triangle-tuba-nfxy.squarespace.com/slabs/oc03-blue-ocean Password: Marbella Thank you Link to comment
tuanphan Posted April 2, 2023 Share Posted April 2, 2023 On 3/28/2023 at 7:00 AM, SierraA said: Hi, I am looking to have the right side of the page fixed, and the left side with the images scrollable. https://triangle-tuba-nfxy.squarespace.com/slabs/oc03-blue-ocean Password: Marbella Thank you Try this code to Design > Custom CSS @media screen and (min-width:768px) { .fe-block-ac48c7c0590dabeade8b { position: sticky; position: -webit-sticky; top: 0; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Guest Posted June 18, 2023 Share Posted June 18, 2023 Hello! Can someone help me do a split screen for a section like this. Im having a hard time figuring out a code for it . like this: https://www.squarestylist.com/shop/fixed-split-section Link to comment
creedon Posted June 18, 2023 Share Posted June 18, 2023 (edited) Quote Can someone help me do a split screen for a section like this. Im having a hard time figuring out a code for it . I don't think you will be able to get a satisfactory sticky effect on that page. Please see the following. Here is the sticky effect on a fairly wide viewport. Notice that you've just started scrolling and then the fun ends. wide viewport unsatisfactory sticky.mp4 With a narrow viewport the sticky effect breaks down even though the code is still there. narrow viewport no sticky.mp4 Edited June 18, 2023 by creedon 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
Guest Posted June 19, 2023 Share Posted June 19, 2023 17 hours ago, creedon said: I don't think you will be able to get a satisfactory sticky effect on that page. Please see the following. Here is the sticky effect on a fairly wide viewport. Notice that you've just started scrolling and then the fun ends. wide viewport unsatisfactory sticky.mp4 1.16 MB · 0 downloads With a narrow viewport the sticky effect breaks down even though the code is still there. narrow viewport no sticky.mp4 630.2 kB · 0 downloads Thank you so much!! 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