GlennieS Posted May 29, 2023 Posted May 29, 2023 (edited) Product page. Image displays as square on desktop, good. But, on mobile the aspect ratio displays as 3:2 (I think) and the image is cropped to fit, no longer round. Screenshot attached. How do I get mobile image to display as square? Is there a setting I've missed? Edited May 30, 2023 by GlennieS
tuanphan Posted June 9, 2023 Posted June 9, 2023 Hi, Can you share link to a product? We can help easier 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!)
GlennieS Posted June 13, 2023 Author Posted June 13, 2023 https://www.sandypoint.vic.au/membership/p/family-membership Can I change the aspect ratio of image in settings somewhere? If it was square the round image wouldn't be cropped?
tuanphan Posted June 15, 2023 Posted June 15, 2023 Add to Design > Custom CSS /* Mobile product image */ @media screen and (max-width:767px) { .tweak-product-basic-item-gallery-aspect-ratio-169-widescreen .ProductItem-gallery-slides:before { padding-bottom: 100% !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!)
GlennieS Posted July 13, 2023 Author Posted July 13, 2023 Dear Tuan Phan, This code has fixed it for me. And my apology for the delay responding ... life got in the way. Thankyou so much, Glennie tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment