I am trying to override Magento 2 footer.phtml, with my custom html footer, I have tried almost everything but still no success, I even tried the below:

You can overwrite the existing templates by copying them into your theme and making changes to the template files.

So copy these two files:

vendor/magento/module-theme/view/frontend/templates/html/header.phtml vendor/magento/module-theme/view/frontend/templates/html/footer.phtml

Into your theme:

app/design/frontend/VENDOR/THEME/Magento_Theme/templates/html/header.phtml app/design/frontend/VENDOR/THEME/Magento_Theme/templates/html/footer.phtml

  • The code seems ok. Please ensure that theme is installed properly at the system. – Amit Bera Mar 7 '19 at 8:18
  • @Amit Bera Theme installed properly but custom files not loadin at all, please help guys... – Local Mar 7 '19 at 8:24
  • Have you configured your theme in admin please ensure it – Prathap Gunasekaran Mar 7 '19 at 8:26
  • Theme configured, I am halfway my theme styling aswell, still nothing on loading the footer file. – Local Mar 7 '19 at 8:39
  • Maybe this is obvious but have you cleared the cache and ran bin/magento setup:static-content:deploy ? – Arno Vande Cappelle Mar 7 '19 at 9:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.