Solved

How to make the product image and thumbnail's position absolute (not sticky)?

glucinth
Explorer
61 1 11

Hello, I have been trying to find a solution how to solve this problem. My product image and thumbnails are sticky and when I scroll they remain on screen until I hit the "You May Like" part. What I want to happen is the image will scroll as well together with the product title, size, quantity and add to cart. I think the correct term is to make its position absolute?

 

I tried to check/uncheck this one but it didn't work as well. Maybe there are codes that seem problematic avoiding its effect?

 

glucinth_2-1713314514828.png

Accepted Solution (1)

PageFly-Richard
Shopify Partner
4287 973 1627

This is an accepted solution.

Hi @glucinth 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
body .grid__item.product__media-wrapper media-gallery {
    position: unset !important;

}
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 2 (2)

PageFly-Richard
Shopify Partner
4287 973 1627

This is an accepted solution.

Hi @glucinth 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
body .grid__item.product__media-wrapper media-gallery {
    position: unset !important;

}
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

glucinth
Explorer
61 1 11

This is perfect! Thank you so much @PageFly-Richard!