I'm trying to add a new container according to the Magento 2 documentation, but it isn't working. Here is what I'm trying:
<container name="some.container" as="someContainer" label="Some Container" htmlTag="div" htmlClass="some-container" />
I'm not seeing the markup anywhere after I refresh. Caching is off too.
Best Answer
Use the following code to add a new container in Magento 2:
Insert the above code in default.xml, path below:
Create a file custom-content.phtml inside: path :