11

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.

19

copy templates folder from

vendor/magento/module-theme/view/frontend/templates

and paste into

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

  • Works for my Magento 2.1.0 – Sunry Aug 29 '16 at 7:39

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.