how to change the position of search box in front end?
Solution
In your Custom/Theme/Magento_Theme/layout/default.xml
<move element="top.search" destination="header.panel" before="minicart" />
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange