I am using the Aheadworks Blog layout and added my own container to it but somehow it doesn't show up in the widget layout options. I have tried adding it in the Magento_Theme layout/default.xml and it does work there.

Specific info:

  • The container (Blog Related Posts) doesn't show up in the lay-out update part of creating a widget.


<?xml version="1.0"?><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    <remove src="Aheadworks_Blog::css/styles.css"/>
    <remove src="Aheadworks_Blog::css/slider.css"/>
    <referenceContainer name="columns" htmlClass="columns row mt-05">
        <container name="blog.related.posts" htmlTag="section"
                   htmlClass="col-12 blogs py-3 py-md-4 order-lg-3" after="-" label="Blog Related Posts">
    <referenceContainer name="div.sidebar.wrapper" htmlClass="col-lg-3 d-none d-lg-block"/>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.