Shopify themes, liquid, logos, and UX
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
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;
}
}
Hi @oscprofessional , this code only hides the zoom icon. I would actually need to disable the zoom on mobile version. What should I do?
@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
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.
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?
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.
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024