bananaman Posted July 10, 2022 Share Posted July 10, 2022 Hi, would anyone know how to change the aspect ratio of product images in the cart? The sides of my product are being cut off to fit the square. Link to comment
bananaman Posted July 10, 2022 Author Share Posted July 10, 2022 Is there a way to remove the image from the page? Or even select a new image for it to use without changing the images in the store? Link to comment
Solution paul2009 Posted December 14, 2022 Solution Share Posted December 14, 2022 On 7/10/2022 at 11:16 AM, bananaman said: would anyone know how to change the aspect ratio of product images in the cart? The sides of my product are being cut off to fit the square. Squarespace have changed the way the cart page is formatted. Some of these changes are very welcome but the changes to the product thumbnail image are a disaster. The images are now cropped to a 1:1 aspect ratio (a square) and they now completely ignore the focal point that has been set! This results in images where essential details are removed. As a workaround, you can add the following CSS to Design > Custom CSS. You'll need to save the settings and then refresh the browser before the changes will take effect. /* Remove cropping on cart images */ .cart-row-img { background-size: contain!important; } Did this help? Please give feedback by clicking an icon below ⬇️ About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. 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