Magento2 Remove Newsletter Block

You can remove newsletter block from footer by adding the below line to layout xml

<?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>
 <referenceBlock name="form.subscribe" remove="true" />
 </body>
</page>
Share

Leave a Reply

Your email address will not be published. Required fields are marked *