Venera Posted May 22, 2022 Share Posted May 22, 2022 (edited) Hi guys! I use this code to make my paintings fit into a square, it works fine, but it doesn't work in the mobile version on the product page in the carousel. And also it doesn't work in the shopping cart and in the mobile version too 😞 How to fix it? .grid-image img { object-fit: contain !important; } https://falcon-lavender-b2h4.squarespace.com/ pw: support Edited November 30, 2023 by Venera Link to comment
tuanphan Posted May 23, 2022 Share Posted May 23, 2022 Don't remove any code in your current code Add to Design > Custom CSS img.ProductItem-gallery-slides-item-image { object-fit: contain !important; } .cart-row-img-wrapper div { background-size: contain !important; } Venera 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Venera Posted May 24, 2022 Author Share Posted May 24, 2022 18 hours ago, tuanphan said: Don't remove any code in your current code Add to Design > Custom CSS img.ProductItem-gallery-slides-item-image { object-fit: contain !important; } .cart-row-img-wrapper div { background-size: contain !important; } Big thanks! ☺️ Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment