mauvaisair Posted April 5 Posted April 5 (edited) Hi! I'd like to resize the product pictures to auto aspect-ratio, as my products are of different sizes, and since I'm using the wrap format, it defaults to a square and inevitably crops the first picture on mobile. The page I used as an example in the screenshot is: https://mauvaisair.com/shop/p/le-nid Edited April 5 by mauvaisair clarification
tuanphan Posted April 7 Posted April 7 You can use this code to Website > Website Tools > Custom CSS to fix problem @media screen and (max-width:767px) { img.pdp-gallery-slides-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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment