I am working on a Magento 2.1.7 shop. To achieve this, I have created a child-theme of Magento Blank.
I want to display the search bar above the top links, at the right of the logo:
Not being able to do that by editing the theme's default.xml
file, I have created a CMS Static Block ("Search") and placed it within a widget in the website's header.
How do I add the search box in this block?
Best Answer
Try below code to achieve your functionality using
default.xml
file inside themeNote: Change your container classes and logo size according to your requirement.