Add the search box to the bottom menu in Magento 2 ?

enter image description here

enter image description here


You can copy below code from Header and Put it inside Footer.


<block class="Magento\Framework\View\Element\Template" name="top.search" as="topSearch" template="Magento_Search::form.mini.phtml" />

after that you can move that block according to your requirement.

For Example (in your case),

<move element="top.search" destination="footer-newsletter" after="form-subscribe" />

Hope it helps :)

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.