I am trying to make changes to the following file but unsure how I can copy it over the to theme? As I do not want to edit the core gallery file?


I've moved this to:


But still seems to be using the lib/web/mage/gallery/gallery.html file?

How can I get edit this file from within my theme?

1 Answer 1


Should be the right location.

Have you removed your pub/static & var/* and executed bin/magento setup:static-content:deploy?

  • Thanks, removing the pub/static and var/ and running the bin/magento setup:static-content:deploy has made my changes appear.
    – lky
    Commented Sep 26, 2017 at 15:43

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.