Jump to content

Product Image in Cart

Go to solution Solved by paul2009,

Recommended Posts

  • Replies 2
  • Views 366
  • 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  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

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.