Magento 2 :: Add custom class in referenceContainer using xml

Added device-hardware class

<referenceContainer name="main.content" htmlTag="main" htmlId="maincontent" htmlClass="page-main device-hardware"/>

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.