Can anyone help how to over ride


file in theme.



create below path in your theme,



php bin/magento setup:static-content:deploy

And Run

php bin/magento setup:upgrade
  • Will this override for front end only? How did the change will get on both admin and front end without using duplicate file? – Anjith K P Feb 15 '18 at 12:06
  • @Rakesh, Shall i do this with in the custom module ,because i dont want to add it in theme – Jaisa Jan 23 at 9:38
  • Not Working !! I'm on 2.3 CE. – anonymous Feb 4 at 6:08

Rakesh Jesadiya solution worked for me on Magento 2.3, but I had to run the setup:upgrade before the setup:static-content:deploy

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.