0

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?

lib/web/mage/gallery/gallery.html

I've moved this to:

app/design/frontend/theme/theme/web/mage/gallery/gallery.html

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?

asked Sep 26, 2017 at 14:47

1 Answer 1

0

Should be the right location.

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

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

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.