0

I am trying to extend the Header (logo, search box and cart), but those files are the different location. I don't know how to adjust those. Could you please suggest me on this. enter image description here

  • What you mean by extending the header? where you want to keep the search box? please share the screenshots so that it will be more visible to us. – Kalyan Chakravarthi V Mar 1 '18 at 6:49
  • i want to change the position of search box to the center of the page can u help me – Dattatraya Pullavarthi Mar 1 '18 at 7:01
0
In your Custom/Theme/Magento_Theme/layout/default.xml                                         


<move element="top.search" destination="header.panel" before="minicart" />
  • <move element="top.search" destination="header.panel" before="minicart" /> – Dattatraya Pullavarthi Mar 1 '18 at 7:07
  • i didnt find this command – Dattatraya Pullavarthi Mar 1 '18 at 7:07
  • You have to add in your default.xml file – aravind Mar 1 '18 at 7:25
  • sorry no change sir – Dattatraya Pullavarthi Mar 1 '18 at 7:34
  • <move element="top.search" destination="header-wrapper" before="minicart" /> – aravind Mar 1 '18 at 8:34

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.