Re: How to reduce image size on Trade theme?

Solved

How to reduce image size on Trade theme?

Yannsss
New Member
7 0 0

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".

 

Yannsss_0-1727181272344.png

 

Accepted Solution (1)
Moeed
Shopify Partner
5777 1568 1859

This is an accepted solution.

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 </body> tag

<style>
@media screen and (min-width: 768px) {
.product.grid {
    justify-content: space-around !important;
}
.product--right .product__media-wrapper {
    max-width: 20% !important;
}
}
</style>

RESULT:

Moeed_0-1727182074339.png

 

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

 

Best Regards,
Moeed

- Get a quick Shopify quote – Click here!

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
5777 1568 1859

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

- Get a quick Shopify quote – Click here!

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


Yannsss
New Member
7 0 0
Moeed
Shopify Partner
5777 1568 1859

This is an accepted solution.

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 </body> tag

<style>
@media screen and (min-width: 768px) {
.product.grid {
    justify-content: space-around !important;
}
.product--right .product__media-wrapper {
    max-width: 20% !important;
}
}
</style>

RESULT:

Moeed_0-1727182074339.png

 

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

 

Best Regards,
Moeed

- Get a quick Shopify quote – Click here!

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


Yannsss
New Member
7 0 0

Thanks it works great 🙂

Yannsss
New Member
7 0 0

@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?