0

I want to add html content after newsletter in footer section in luma theme

Please suggest me how can i do that?

1
  • you have to provide us what you tried and why it didn't work. Commented Jul 24, 2019 at 12:31

1 Answer 1

0

In luma, theme footer is picked by the default.xml file below is the path for the file

/var/www/html/Magento2/vendor/magento/module-theme/view/frontend/layout/default.xml

navigate to the above path open default.xml file and add your phtml file below

<referenceContainer name="footer-container">

below is the method to call phtml file in xml file

<block class="Magento\Theme\Block\Html\calssname" name="file_name" template="Magento_Theme::html/your_file.phtml" />
1
  • I know this well but my question is that is it possible to add block or any text after newsletter..? Position of block or text would be after newsletter. Commented Jul 25, 2019 at 4:05

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.