Shopify themes, liquid, logos, and UX
Hello, 🤠
I would like to remove the zoom option on my product pages only on mobile. is there any way to do this?
My website: tudoconexao.com
Solved! Go to the solution
This is an accepted solution.
Hello 🤠,
To remove the zoom option on your product pages specifically for mobile devices, you can add custom CSS to your website. Here’s a simple way to achieve this:
Access your website's CSS file:
Add the following CSS code:
Replace .your-zoom-class with the actual CSS class that controls the zoom functionality on your product images.
Save your changes:
This code uses a media query to target devices with a screen width of 767px or less, which typically covers most mobile devices. The property to disable interactions with the specified element, effectively removing the zoom functionality on mobile devices.
If you're not sure about the class name, you can inspect the element using your browser's developer tools (usually accessed by right-clicking on the element and selecting "Inspect").
If you need further assistance, feel free to reach out!
This is an accepted solution.
Hi @Dawenn ,
I have reviewed your requirement, you just need to edit css script and the issue will be resolved. You can follow my instructions!
Step 1: Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file theme.css. And add this code snippet to the end of the file.
@media only screen and (max-width: 749px) {
.product-gallery__zoom-notice {
display: none !important;
}
}
Step 3: Save your code and reload this page.
=>> The result:
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
Hi @Dawenn
check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 749px){
span.product-gallery__zoom-notice {
display: none !important;
}
}
And save.
Result:
This is an accepted solution.
Hello 🤠,
To remove the zoom option on your product pages specifically for mobile devices, you can add custom CSS to your website. Here’s a simple way to achieve this:
Access your website's CSS file:
Add the following CSS code:
Replace .your-zoom-class with the actual CSS class that controls the zoom functionality on your product images.
Save your changes:
This code uses a media query to target devices with a screen width of 767px or less, which typically covers most mobile devices. The property to disable interactions with the specified element, effectively removing the zoom functionality on mobile devices.
If you're not sure about the class name, you can inspect the element using your browser's developer tools (usually accessed by right-clicking on the element and selecting "Inspect").
If you need further assistance, feel free to reach out!
This is an accepted solution.
Hi @Dawenn ,
I have reviewed your requirement, you just need to edit css script and the issue will be resolved. You can follow my instructions!
Step 1: Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file theme.css. And add this code snippet to the end of the file.
@media only screen and (max-width: 749px) {
.product-gallery__zoom-notice {
display: none !important;
}
}
Step 3: Save your code and reload this page.
=>> The result:
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
Hi @Dawenn
check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 749px){
span.product-gallery__zoom-notice {
display: none !important;
}
}
And save.
Result:
Thank you very much, you helped me a lot! 🫡😁
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025