- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2021
10:54 AM
01-26-2021
10:54 AM
Hi,
I'm using Magento 2.1 and trying to move my main horizontal navigation menu up so that instead of appearing below the logo it appears alongside it, inside the header.
So I tried editing /httpdocs/vendor/magento/module-theme/view/frontend/layout/default.xml and did some digging around to find out what code to add.
I added this code:
<move element="navigation.sections" destination="header.container" after="logo" />
Inside <referenceContainer name="header.container">, just before the closing </referenceContainer> tag.
I then uploaded the default.xml and cleared the Magento cache in the back end. But it hasn't done anything at all. I'm sure I'm missing something obvious here- can someone point me in the right direction?
Solved! Go to Solution.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2021
07:53 AM
01-27-2021
07:53 AM
Anyone know how I can do this please?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2021
07:53 AM