Shopify themes, liquid, logos, and UX
Hi,
I was looking for solutions on how to change the sizes of collection images in my Shopify store. I use Dawn 2.0 theme and all of my images are in different sizes in product collections.
You can see an example here: https://bella-lv.myshopify.com/collections/gela-nagu-lakas
How can I resize all the images to fit the same size like it is on my old website: http://www.bella.lv/
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
yes, please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/base.css ->paste below code at the bottom of the file.
.card--product .media {
padding-bottom: 100% !important;
}
.card--product .media>img {
object-fit: contain !important;
}
This is an accepted solution.
yes, please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/base.css ->paste below code at the bottom of the file.
.card--product .media {
padding-bottom: 100% !important;
}
.card--product .media>img {
object-fit: contain !important;
}
Thanks, it worked perfectly for me!
its my pleasure to help us
When I apply this code, it definitely makes all the images the same size. However, it makes the images slightly blurry. Is there a fix so the images don't appear blurry but are all the same size?
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025