Shopify themes, liquid, logos, and UX
Hi everyone,
Hope someone can help me out!
How can I deactivate the zoom function and widget on a specific productpage?
https://www.states-gallery.com/products/a-roll-of-backgammon
Thank you in advance and have a great day!
Regards Haan
Solved! Go to the solution
This is an accepted solution.
Ah okay. I understand. Then try this please
body:has(#shopify-section-product-template-1) button.artplacer-button.en.btn.btn-7.btn--full.btn-theme.product-form__cart-submit {
display: none;
}
Hey @Haan,
The code below is to hide the button, regarding the image zooming, that would take a little heavy lifting and I wouldn't be able to help you with that here.
You can use this Custom CSS in the Theme Customizer -> Settings
button.artplacer-button.en.btn.btn-7.btn--full.btn-theme.product-form__cart-submit {
display: none;
}
You can find it here
Hi TPW,
thank you for your quick reply!
I tried the code but somehow I am doing something wrong I suppose?
Hey @Haan,
You can ignore the underlining and save it. It's probably underlining it because it's not a dictionary word
I am getting this alert
Hmm, then try this
For the theme you are currently on, click on the "..." button and then "Edit code".
In the "Assets" folder, you can search for "base.css" file, and add the code here. It could also be theme.css, style.css or styles.css. Search until you find one
That works only the widget also disappears from all the other productpages.
It should only be deactivated on a specific productpage template (accessories): product-template-1.liquid:
https://www.states-gallery.com/products/a-roll-of-backgammon
And visible on product-template-7.liquid:
https://www.states-gallery.com/collections/adventure/products/beauty
Do you perhaps know? Thank you for your help!
This is an accepted solution.
Ah okay. I understand. Then try this please
body:has(#shopify-section-product-template-1) button.artplacer-button.en.btn.btn-7.btn--full.btn-theme.product-form__cart-submit {
display: none;
}
Thnx amigo! That worked.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025