I am trying to move the search bar next to the logo on our website but not having any luck.
My theme is based on magento luma.
I have the below code
<move element="block.search" destination="header.wrapper" after="logo" />
inside of
mytheme/theme/layout/default.xml
but the changes aren't being reflected.
I have also tried the below code.
<move element="top.search" destination="header.wrapper" after="logo" />
Best Answer
Use this code