1

Magento2 How to make Thumbnail zoom on click on product page?

n

1
  • i want to zoom this small image on click or hover. Oct 2, 2019 at 10:44

1 Answer 1

0

You have to override view.xml file from

if you use parent theme luma (theme-frontend-luma)

vendor/magento/theme-frontend-luma/etc/view.xml

if you use parent theme blank (theme-frontend-blank)

vendor/magento/heme-frontend-blank/etc/view.xml

to your theme

app/design/frontend/Package/theme/etc/view.xml

just find

<var name="magnifier">

and You can do Turn on magnifier (true) "true"

<var name="enabled">true</var>

2
  • not working for me Oct 2, 2019 at 12:20
  • php bin/magento cache:clean, php bin/magento cache:flush also clear browser cache and check again Oct 2, 2019 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.