Re: How do I disable product page zoom on mobile version Dawn Theme 10.0

How do I disable product page zoom on mobile version Dawn Theme 10.0

1989streetwear
Explorer
73 0 10

Hello I would like to disable the product page zoom on the product imgs only on mobile version on Dawn Theme 10.0

 

Anyone can help?

 

website: 1989streetwear.com

Marco
Replies 6 (6)

oscprofessional
Shopify Partner
16115 2409 3122

Hello @1989streetwear 

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

 

@media screen and (max-width: 749px){
span.product__media-icon.motion-reduce.quick-add-hidden.product__media-icon--hover {
    display: none;
}
}

 

 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing | Oscp Upsell & Cross sell App : Free | Oscp Sales & Volume Discount App : Free | Custom Pricing Wholesale App : Free
1989streetwear
Explorer
73 0 10

Hi @oscprofessional , this code only hides the zoom icon. I would actually need to disable the zoom on mobile version. What should I do?

Marco

oscprofessional
Shopify Partner
16115 2409 3122

@1989streetwear 
Hello,
Add This CSS Go to Online Store > Select Theme > Edit Code > section-main-product.css

@media only screen (max-width:767px) {
.product__media-zoom-hover, .product__media-icon--hover {
	display: none !important;
}
}

Like This

oscprofessional_0-1689320618200.png

 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing | Oscp Upsell & Cross sell App : Free | Oscp Sales & Volume Discount App : Free | Custom Pricing Wholesale App : Free

PageFly-Richard
Shopify Partner
4593 1052 1713

Hi @1989streetwear 

This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:

 

Online Store ->Theme ->Edit code

Assets ->Base.css

@media(max-width: 749px){
.product__media-icon--hover {
   display: none !important;
}
}

Hope you find my answer helpful!

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

1989streetwear
Explorer
73 0 10

Hi @PageFly-Richard , this code only hides the zoom icon. I would actually need to disable the zoom on mobile version. What should I do?

Marco
PageFly-Richard
Shopify Partner
4593 1052 1713

you can try this code

@media screen and (max-width:749px){
   .product-media-modal[open]{
       display: none; 
       visibility: hidden;
    }
}

 

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.