Neeraj Garg
Neeraj Garg

Reputation: 705

Magento remove left side panel from static block page

I created a subcategory name "NEW" from manage category option in admin.In the "Display Settings" tab of this category, I select a CMS block which I created earlier.

This block is displaying when click on the navigation menu link "NEW".I am using one column layout. Even so, it is showing left-side panel, which is showing to compare product option and content.

Now my question is how to remove this left-side panel from this block.I just only want content on this block. I am attaching snapshot of my problem http://d.pr/i/l5bO

Upvotes: 0

Views: 2013

Answers (2)

Neeraj Garg
Neeraj Garg

Reputation: 705

Thanks for your reply but I got the answer:- go to category->add subcategory->custom design->Custom Layout Update paste this code.

<reference name="root">
 <action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>

Upvotes: 1

Jordy S Chemparathy
Jordy S Chemparathy

Reputation: 539

use this on

<remove name="catalog.leftnav"/>

Here name is your unique left panel name

Also

please insert the **<remove name="catalog.leftnav"/>** code inside

<reference name="left">
</reference>

like this

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

It works

Upvotes: 0

Related Questions