Nturner Posted May 11, 2020 Share Posted May 11, 2020 I am looking to be able to have photos of my products for the 'shop' section of my site in two differing aspect ratios. I have both vertical and horizontal images and don't want to have to choose one aspect ratio. Doing so crops half of my products in an unflattering way. There is no way to retake the photos in all the same aspect ratio. As ceramic work, all products tend to need different aspect ratios. Does anyone know of a custom CSS that will help this? I am using the Ventura template which does not have the Advanced Product page. Thanks! Link to comment
Guest Posted July 22, 2020 Share Posted July 22, 2020 Hi you can achieve it using using the unique body id body#collection-5ebd4a2d1e94674986325f64 UNIQUE ID LIKE THIS and look for your .ProductList-outerImageWrapper .tweak-product-list-image-aspect-ratio-23-standard-vertical .ProductList-outerImageWrapper { padding-bottom: 150%;} 2 : 3 STANDARD VERTICAL OR .tweak-product-list-image-aspect-ratio-23-standard-vertical .ProductList-outerImageWrapper { padding-bottom: 100%;} 1 : 1 STANDARD VERTICAL Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.