0

I have created a custom which is inherited from the blank theme, I want to move my menu ( catalog.topnav ) after the logo ( header.panel ) ?

2
  • 1
    You can try like: <move element="catalog.topnav" destination="header-wrapper" after="logo"/> because existing logo is referenced in header-wrapper wrapper
    – Pawan
    Commented Dec 27, 2020 at 7:14
  • Mobile view collapsed snipboard.io/UKZG32.jpg
    – zus
    Commented Dec 27, 2020 at 7:54

1 Answer 1

0

If you want to move menu catalog topnav after logo, Go to your theme default.xml

  <move element="catalog.topnav" destination="header-wrapper"  after="logo"/>

This will move menu catalog topnav after logo. You have to work on with custom css for mobile view.

4
  • Yes i did, but i have new issue, after move menu to header panel in mobile view menu look like i.sstatic.net/lPsJu.png
    – zus
    Commented Jan 1, 2021 at 12:20
  • Post : magento.stackexchange.com/questions/328503/…
    – zus
    Commented Jan 1, 2021 at 12:21
  • I have created custom theme using blank theme, anything i need to setup?
    – zus
    Commented Jan 1, 2021 at 12:21
  • If my practice wrong, pls help me.
    – zus
    Commented Jan 1, 2021 at 12:22

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.