Jump to content

Disable product image cropping in shop (I want to be able to have photos of differing aspect ratios)

Recommended Posts

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
  • 2 months later...
  • Replies 1
  • Views 493
  • Created
  • Last Reply

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.