Jump to content

Product Image in Cart

Go to solution Solved by paul2009,

Recommended Posts

  • Replies 2
  • 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: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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.