Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
I want to move the search bar from right to the center of the homepage using xml.
<move element="block.search" destination="header-wrapper" after="logo" />
We have to add this in default.xml file
and then change the css accordingly, after that it will work fine.
Add this in css file,
Required, but never shown