how can i upload the navigation menu for the header and edit the menu layout

enter image description here


Write this code your default.xml and run the php bin/magento c:f

<move element="catalog.topnav" destination="header.panel"/>

After you want to right position so add this css and after check you output

nav.navigation {
    float: left;
    width: auto;


enter image description here

  • Thank you very much. It worked. – Andres Higuita Apr 29 '20 at 14:42

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.