Shopify Theme Expanse - Change the aspect ratio of product images to 4:5

Solved

Shopify Theme Expanse - Change the aspect ratio of product images to 4:5

KieranDibor
Excursionist
14 2 1

Hello all! 

I have a store www.dibor.co.uk Which is using the expanse theme, the image options are 1:1, 2:3, 3:2, however all our product image photos are set at 4:5, is there a way to set the product images in collections to display 4:5?

 

Thanks in advance!

Accepted Solution (1)

KieranDibor
Excursionist
14 2 1

This is an accepted solution.

I fixed this by doing the following:

 

.grid__image-ratio--portrait:before {
padding-bottom: 130%;
}

View solution in original post

Reply 1 (1)

KieranDibor
Excursionist
14 2 1

This is an accepted solution.

I fixed this by doing the following:

 

.grid__image-ratio--portrait:before {
padding-bottom: 130%;
}