Make Product Images Sticky (Again) In Empire V11

matthewalker
Excursionist
21 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)

Liqiud_xPert_SJ
Shopify Partner
731 93 115

@matthewalker 

 

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

- 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 🙂