I am building a new theme in magento 2.1. I need to override the default header minicart of magento 2.1. For that I had copied


and pasted it in


But Whatever change I make it in the content/html in my custom theme, it is not affecting in my website. I have deployed the static contents and cleared caches. Still no result. Can any one please help me to find out where it gone wrong? Thanks in advance.

  • just run upgrade command first and then run deploy command. Aug 22, 2017 at 10:06

1 Answer 1


You have to run below command to work your file,

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Clear cache and also clear browser cache.



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.