Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How deactivate elevatezoom #181

Open
massuz opened this issue Sep 8, 2018 · 1 comment
Open

How deactivate elevatezoom #181

massuz opened this issue Sep 8, 2018 · 1 comment

Comments

@massuz
Copy link

massuz commented Sep 8, 2018

Hi to everyone,
i bought an e-commerce template with woocommerce and Elevate Zoom.
My problem: on mobile navigation side, zoom doesn't allow a good scroll in the single product pages.
I'm not a developer and don't know JQ language, i can deactivate zoom by using css
.zoomContainer{
display: none;
}
But using that code i noticed that in mobile Chrome by touching the image of the product page don't scroll anyway.
How can i deactivate zoom (it's ok for me deactivating it also in desk navigation, if necessary) with no further problems?
THANKS

@Anton-Evstigneev
Copy link

Anton-Evstigneev commented Jun 2, 2020

ezPlus instance is attached to DOM as $('img').data('ezPlus') object. It has destroy() method that you probably need, and many other useful methods. Docs are lacking, but you can inspect that data object, plus see the source code in node_modules/ez-plus/src/jquery.ez-plus.js if you've installed via NPM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants