Magento – How to remove a block with local.xml

blocksmagento-1.9xml

I am trying to remove a block named catalog.leftnav. After reading this- https://stackoverflow.com/questions/16937018/magento-remove-block-using-update-xml

I created a local.xml file and put this in there-

<?xml version="1.0" encoding="UTF-8"?>
<layout>
   <default>
     <remove name="catalog.leftnav" />
   </default>
</layout>

I added it into frontend/default/themename/layout

What am I missing?

Best Answer

Go to app/design/frontend/{package}/{theme}/layout/local.xml then add this within :

<reference name="left">
    <remove name="catalog.leftnav" />
</reference>

Clear cache.