I have a custom theme which was working fine on 2.1.9.

Just upgraded to 2.2 and noticed some blocks I used to remove are now in place.


<referenceBlock name="form.subscribe" remove="true" />
<referenceBlock name="footer_links" remove="true" />

I have already removed var & pub/static contents, also deployed static content through

setup:static-content:deploy -f

Any idea?


In more recent versions of Magento2, the remove method is now:


 <?xml version="1.0"?>
 <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    <referenceBlock name="block_name" remove="true"/>
|improve this answer|||||
  • I´m using this same sintax, but somehow it seems their names were changed since they stopped working: – Luiz Junior Sep 28 '17 at 4:14

Your Answer

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

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