Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

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


Nturner

Question

Posted (edited)

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! 

Edited by Nturner
Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

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 post

Create an account or sign in to comment

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


×
×
  • Create New...