There are some containers in Luma theme, how can I get their names?
I want to move the container that has the search bar below the container that has the main menu. Thanks.
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.
Sign up to join this communityThis will do it.
<move element="top.search" destination="content" before="-" />
For finding containers you have to look through layout xml files; they are in the respective Magento modules and theme overrides.
Magento 2 has a utility in the backend for blocks goto:
Stores -> Configuration -> Advanced -> Developer -> Debug
from here you'll have options of:
do that it and you'll get some insight about blocks and where to look.