Shopify themes, liquid, logos, and UX
I have recently moved to Dawn Theme and finding that the product tiles are not the same size in search results. Also the images in their own product page are huge. I would like the images to fit within a square size in my search results, and not be any larger than a certain size, unless you click on the image to expand it. I've tried a few suggestions from the community site, but nothing seems to be working for me.
It's been a long time since I've played around with the themes, but I can follow clear instructions.
I'd appreciate any help you could give please.
some images are
Solved! Go to the solution
This is an accepted solution.
What setting have you selected here:
And since it's a per-section setting you'd need to check it in collection section, search results section, recommended products as well.
When you select "Square", theme will crop images by default. To scale them down instead, you may add this to the "Custom CSS' setting of these sections:
.card__media img {
object-fit: contain !important;
}
Hey @Gladstonehifi
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
This is an accepted solution.
What setting have you selected here:
And since it's a per-section setting you'd need to check it in collection section, search results section, recommended products as well.
When you select "Square", theme will crop images by default. To scale them down instead, you may add this to the "Custom CSS' setting of these sections:
.card__media img {
object-fit: contain !important;
}
Fantastic, thank you Tim. I hadn't changed to square in all the sections, and defiantly needed the extra coding to stop the image being cropped.
Hey there @Gladstonehifi if you aren’t too proficient with using codes, here’s a way you can fix this without using any code but with the help of an app
Give this a try and let me know if it works for you!
You can solve it by changing option of Image ratio from Adapt to image to Square or Portrait in Online Store > Themes > Customize > click Homepage dropdown menu > Collections > Default collection
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hi Dan-From-Ryviu. I had a look at your suggestion, but square was already selected.
Thank you anyway.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025