Cropping of photos in catalogue using dawn theme

Solved

Cropping of photos in catalogue using dawn theme

IronAffinity
Tourist
4 0 4

Hey all, really trying with this one
My theme is cropping my photos of products to a square - making them just look cut off

Is there any way to fit the image to the product, or something?
see attached - Screenshot 2025-04-19 at 12.30.47 pm.png

Accepted Solution (1)

tim
Shopify Partner
4539 546 1658

This is an accepted solution.

@Dan-From-Ryviu solution is proper. You should try either "Portrait" or even better -- "Adapt".

Also -- avoid editing theme code -- this will make your theme updates problematic.

 

If Dan's solution does not work for you, you can instead add the following code to the section's "Custom CSS" setting or "Theme Settings"=> "Custom CSS":

.card--media, .card--media> * {
  --ratio-percent: 150% !important;
}

And replace 150 with whatever better fits your images.

Screenshot 2025-04-19 at 3.20.01 PM.png

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

View solution in original post

Replies 8 (8)

TheBigLincoln
Shopify Partner
2 0 0

Edit the height o your products photos in the products display section.
Recom: desktop - 500
             mobile - 250

Did you get it resolved?


For quick response - Message Me
Ping me at: thegr8lincoln@gmail.com
Want to see similar solutions to your issue? - Fiverr.com/b_perfect/

DaisyVo
Shopify Partner
4447 496 590

Hi @IronAffinity , can you share store url? 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
IronAffinity
Tourist
4 0 4

https://ironaffinity.com.au/collections/hoodies-w

 

This is the particular collection im refering to right now - currently editing the other model photos for the other collections..

DaisyVo
Shopify Partner
4447 496 590

Hi @IronAffinity 

You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file

 

img.motion-reduce {
    object-fit: contain !important;
}

 

Result 

DaisyVo_0-1745036174911.png

 

Best,

DaisyVo

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
IronAffinity
Tourist
4 0 4

is there a way to do this and maintain the soft curved edges/corners?

Dan-From-Ryviu
Shopify Partner
11742 2303 2487

Hi @IronAffinity 

The Dawn theme has an option to change images in the product card to portrait. You can see it from store admin > Sales channels > Online store > Themes > Customize > click Homepage dropdown > Collections > open collection template > product grid > Image ratio Screenshot_1.jpg

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- 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.

tim
Shopify Partner
4539 546 1658

This is an accepted solution.

@Dan-From-Ryviu solution is proper. You should try either "Portrait" or even better -- "Adapt".

Also -- avoid editing theme code -- this will make your theme updates problematic.

 

If Dan's solution does not work for you, you can instead add the following code to the section's "Custom CSS" setting or "Theme Settings"=> "Custom CSS":

.card--media, .card--media> * {
  --ratio-percent: 150% !important;
}

And replace 150 with whatever better fits your images.

Screenshot 2025-04-19 at 3.20.01 PM.png

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
IronAffinity
Tourist
4 0 4

Yessss this is exactly what i wanted!! thank you so much