Stuck product image while scroll

Solved

Stuck product image while scroll

Digital_Imran
Shopify Partner
278 2 40

Hello everyone, I need help with my product page. When I scroll through the page, the description is quite lengthy, which creates a lot of white space. I’ve attached a screenshot for reference. Is it possible to make the product image stay fixed (sticky) until I reach the 'You may also like' section? Thanks in advance 🙂
My store URL: myperfectwear.com
Example store : https://threadheads.com/products/christmizzle-oversized-tee Yu can see if you open text image stuck until you reach the bottom


Digital_Imran_0-1733325625364.png

 

Problem Solved? ✔Accept and Like solutions to help future merchants.

Do you need high converting Shopify store? with customized graphical banners, hire me.
Message me now to get started. My response time is lightning fast.
Accepted Solution (1)

DaisyVo
Shopify Partner
2354 291 333

This is an accepted solution.

HI @Digital_Imran 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

.product {
    position: relative !important;
}
.product > product-gallery.product-gallery {
    position: sticky;
    top: 100px;
}

 

Here is the result: 

https://img001.prntscr.com/file/img001/tYaNlcjLTb6h7MQ4L9v9Qg.png

 

I hope this helps

 

Best,

 

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

View solution in original post

Replies 2 (2)

DaisyVo
Shopify Partner
2354 291 333

This is an accepted solution.

HI @Digital_Imran 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

.product {
    position: relative !important;
}
.product > product-gallery.product-gallery {
    position: sticky;
    top: 100px;
}

 

Here is the result: 

https://img001.prntscr.com/file/img001/tYaNlcjLTb6h7MQ4L9v9Qg.png

 

I hope this helps

 

Best,

 

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
Digital_Imran
Shopify Partner
278 2 40

Thank you so much @DaisyVo It works 🙂

Problem Solved? ✔Accept and Like solutions to help future merchants.

Do you need high converting Shopify store? with customized graphical banners, hire me.
Message me now to get started. My response time is lightning fast.