Jump to content

Split / Sticky Scroll Section

Recommended Posts

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 by scdavid
Hiding password for future reasons
Link to comment
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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

I'll PM for checking it

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
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!

Screen Shot 2022-02-26 at 8.39.02 PM.png

Link to comment
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!

Screen Shot 2022-02-26 at 8.39.02 PM.png

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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
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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.