Reduce Image size of product when zoomed in Taste theme

Solved

Reduce Image size of product when zoomed in Taste theme

JohnPan123
New Member
4 0 0

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!a.jpgb.png

Accepted Solution (1)

niraj_patel
Shopify Partner
2378 514 512

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>

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 3 (3)

niraj_patel
Shopify Partner
2378 514 512

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>

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
JohnPan123
New Member
4 0 0

Thanks so much! It worked! 

nirva3251
Visitor
1 0 0

And how i can fix it for mobile also?