Shopify themes, liquid, logos, and UX
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?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024