Re: Make Product Images Sticky (Again) In Empire V11

Make Product Images Sticky (Again) In Empire V11

matthewalker
Excursionist
22 1 4

Hello,

 

I'm trying to make my product images sticky in Empire v10. I had the following code in my theme.css file

 

@media(min-width:767px){
#site-main:has([data-product-wrapper] article .product-gallery){
overflow:unset !important
}
#site-main [data-product-wrapper] article .product-gallery{
position: sticky;
top: 95px;
height: fit-content;
}
 

however after updating the theme this has stopped working.

 

Site is www.indigohomeandgift.co.uk

 

Thanks in advance.

Reply 1 (1)

Liquid_xPert_SJ
Shopify Partner
1381 143 216

@matthewalker 

 

can you please show a screenshot which gallery you are referring and on which page.

- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂
- Need THEME UPDATES but have custom codes? No worries, for an affordable price.