SarahBergeronArtist Posted March 22, 2022 Share Posted March 22, 2022 Site URL: https://www.sarahbergeronartist.com/store/p/emerge-original I'm looking for help with an image cropping issue on mobile. My product page design is set up so that images 'stack' on top of one another. It looks create on the desktop because the images have different dimensions and can remain the original dimensions when scrolling through the images. The problem is when I view the product page on mobile the images turn into a carousel that automatically crops all the images to a 1:1. The correct image size is only viewable in a lightbox. Is there a way to change the design on mobile so that the images are 'stacked' in the same way as they are on desktop, where you just scroll through them? I'm on version 7.1 business plan. Link to comment
tuanphan Posted March 24, 2022 Share Posted March 24, 2022 Add to Design > Custom CSS /* Mobile Product Image */ @media screen and (max-width:767px) { img.ProductItem-gallery-slides-item-image { object-fit: contain !important; } } 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
SarahBergeronArtist Posted March 24, 2022 Author Share Posted March 24, 2022 11 hours ago, tuanphan said: Add to Design > Custom CSS /* Mobile Product Image */ @media screen and (max-width:767px) { img.ProductItem-gallery-slides-item-image { object-fit: contain !important; } } That worked! Thank you so much! 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