My original theme screen is like this

But I want in this way

But due to these changes, my responsive view gets distorted like this.

I wrote this line of code in the default.xml file <move element="catalog.topnav" destination="header-wrapper" after="logo" />

Any help would be appreciated. Thanks

1 Answer 1


Kindly use this one:

<move element="navigation.sections" destination="header-wrapper" after="logo" />

  • Thanks Dotsquares, it worked for me.
    – user170106
    May 6, 2022 at 8:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.