does anyone know how to make all images the same size display

Solved

does anyone know how to make all images the same size display

vibehome
Explorer
68 3 30

Hi, I've recently just updated to a new version and for some reason the collection images and product images display differently, some more zoomed in etc and does not fit the whole product image.

 

When I had some changes made a last year the images would fit nicely inside the box but after this update it has changed the format.

 

I have attached some images of what I mean.

images do not fit.pngimages fit nicely.png

 

Accepted Solution (1)
BSSCommerce-HDL
Shopify Partner
2030 709 869

This is an accepted solution.

Hi @vibehome

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
.collection .card__media .media img {
    object-fit: contain !important;
}
</style>

 Here is result:

BSSCommerceHDL_0-1724687851418.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you  😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 5 (5)

BSSCommerce-HDL
Shopify Partner
2030 709 869

Hi @vibehomeCan you kindly share the details of your problem (link page) with us? We will check it and suggest you a solution if possible. 
Because I see it good in your website now

BSSCommerceHDL_0-1724685322431.png

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
vibehome
Explorer
68 3 30

Hi @BSSCommerce-HDL  Yes ofcourse, I will wait to hear on the first part ( white background across the menu) and then I will make the theme live with the issue of the images. Hope this makes sense.

vibehome
Explorer
68 3 30

Its now live and you can see the image sizes different 

BSSCommerce-HDL
Shopify Partner
2030 709 869

This is an accepted solution.

Hi @vibehome

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
.collection .card__media .media img {
    object-fit: contain !important;
}
</style>

 Here is result:

BSSCommerceHDL_0-1724687851418.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you  😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
vibehome
Explorer
68 3 30

Last year when the website was being built someone made all the images so its fits in