Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
I am trying to reduce the image size of the product (theme Taste) AFTER it's clicked for zooming inside an individual product's page.
Please look at the images hope they help.
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hello @JohnPan123
You can add code by following these steps to make image smaller after zoom in
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 750px) {
.product-media-modal__content >* {
width: 100% !important;
max-width: 420px !important;
}
}
</style>
This is an accepted solution.
Hello @JohnPan123
You can add code by following these steps to make image smaller after zoom in
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 750px) {
.product-media-modal__content >* {
width: 100% !important;
max-width: 420px !important;
}
}
</style>
Thanks so much! It worked!
And how i can fix it for mobile also?