Please help how to make the product images of the same height size
Store url: https://y0sqibkk2k09px3y-21603111.shopifypreview.com/collections/activewear
Please help
A user seeks help making product images uniform in height on their Shopify store. Two solutions are provided:
Theme Settings Approach:
CSS Code Solution:
.boost-pfs-filter-product-item .boost-pfs-filter-product-item-main-image {
min-width: 100%;
min-height: 100%;
object-fit: cover;
}
The discussion includes screenshots demonstrating where to find the relevant code elements and theme settings. The issue remains open with no confirmation of resolution from the original poster.
Please help how to make the product images of the same height size
Store url: https://y0sqibkk2k09px3y-21603111.shopifypreview.com/collections/activewear
Please help
with that theme it should be in theme settings and products and look for Image crop
Hi @Janamir
Please follow these steps:
Find any .css file, which should be base.css. Then insert the following lines at the bottom of the page and save:
.boost-pfs-filter-product-item .boost-pfs-filter-product-item-main-image{
min-width: 100%;
min-height: 100%;
object-fit: cover;
}
If it is not working, you can add specific heights and widths for images.
I hope that it’s useful for you.