0

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

n

  • i want to zoom this small image on click or hover. – Junaid Ashfaq Oct 2 at 10:44
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>

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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