Footer can be changed by adding new blocks to the container ‘header.container
’ or its child containers or removing blocks and containers from them. Example for adding block

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
   <body>
       <referenceContainer name="header.container">
           <block class="Web4pro\Test\Block\Template" name="header.custom.block" template="Web4pro_Test::header_custom.phtml" before="-"/>
             </referenceContainer>
   </body>
</page>

 

5.00 / 5.0
Article rating (5 Reviews)
Do you find this article useful? Please, let us know your opinion and rate the post!
Not badGoodVery GoodGreatAwesome