All things Shopify and commerce
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".
Solved! Go to the solution
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:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
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
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:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thanks it works great 🙂
@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?
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024