Stack Exchange network consists of 180 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
In my custom theme I need to put the header and menu in one div. Now I have the following structure:
How can I add blocks in one div so I can have this structure ?
You need to add the following to your theme's default.xml layout file:
<move element="navigation.sections" destination="header.container" />
Required, but never shown