How to reduce image size on Trade theme?

The image size on the trade theme is slightly too big for me (see screenshot below).

The current height is: 572px (both on computer and mobile).

I would like to limit the height to 400px.

NB: I already checked in the theme parameters and the setting is already set on “Small”.

Hey @Yannsss

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

https://ik-parts.com/products/ikea-100358

Hey @Yannsss

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Thanks it works great :slightly_smiling_face:

@Moeed This works great on portrait images.

But now landscape images are tiny: https://ik-parts.com/products/ikea-1009000.

Do you have a solution that would only limit the height?