Skip to content

how to add custom container inside product.info.main container in magento 2.3.1

how to add custom container in class=”product-info-main” referenceContainer=”content” and inside catalog.product.view.xml file

catalog.product.view.xml

  <referenceContainer name="content">
        <container name="product.info.parts" htmlTag="div" htmlClass="product-info-parts" before=""/>
    </referenceContainer>

but it’s not working