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.
Anyone know how I can do this please?