I wanted to display a static block with the identifer: popular_brands

I created widget: enter image description here

But impossible anyway display static block before footer, etc. I try all this option with "footer" but block is not displayed.

When I use "page top" then display correct before header. When I use "page bottom" then display correct bottom of page. But impossible set before footer etc.

enter image description here

Can anyone help how to solve?

1 Answer 1


Try this code


<?xml version="1.0"?>
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
<page layout="3columns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <update handle="default_head_blocks"/>
    <referenceContainer name="footer-container">
        <block class="Magento\Cms\Block\Block" name="popular_brands"  before="-" >
                <argument name="block_id" xsi:type="string">popular_brands</argument>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.