wickywills
11/10/2017 - 3:26 PM

Blocks and containers

If trying to override layout elements within a module, you'll need to add some XML to app/code/VENDOR/MODULE/view/layout/MODULE_index_index.xml or whatever layout file you're using like so:

<referenceBlock name="main.content">
...
</referenceBlock>
<referenceContainer name="main.content" htmlClass="testing" remove="true">
</referenceContainer>