I have created my own theme by extending the Magento/Blank theme.

Now want to override the default header template files link.phtml, topmenu.phtml, header.phtml which is located at vendor/module-theme/view/frontend/templates into my theme.

My theme is located at app/design/frontend/MyModule/MyTheme

So please let me know how I can override and what will be the structure for it.

1 Answer 1


copy templates folder from


and paste into

app/design/frontend/MySpaceName/MyTheme/Magento_Theme/paste templates folder here

  • Works for my Magento 2.1.0
    – Sunry
    Aug 29, 2016 at 7:39

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.