Jump to content

Product Image in Cart

Go to solution Solved by paul2009,

Recommended Posts

  • Replies 2
  • Views 212
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 5 months later...
  • Solution
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 me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.