Jump to content

how do you stop the product image from moving?

Recommended Posts

On 12/31/2021 at 3:18 AM, Ecold said:

Site URL: https://www.cobbledstreetshop.co.uk

 Hello,

How do you fix a product image in place so the text just scrolls please? At the moment, the text is exceeding the image so when you scroll past the image, the text just keeps going down the page. I guess I'm asking, how do you spilt the page to side fixed and the other side move please?

Thanks!

You can try

.ProductItem-summary .ProductItem-gallery {
  position: sticky;
  top: 50px;
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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

My testing

 

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
On 12/31/2021 at 11:05 PM, bangank36 said:

You can try

.ProductItem-summary .ProductItem-gallery {
  position: sticky;
  top: 50px;
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

it worked! thank you

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.