How To Remove Category Title From Category Listing Page in Magento Template

By default Magento displays category title on category listing page which has it’s own advantages. But if you are looking to remove the category title which appears on category listing page in Magento template due to some customization requirements you do can that easily.

Just go to app/design/frontend/default/Your_Theme/template/catalog/category/view.phtml file and find the following lines of code which you should comment out

1
2
3
4
5
6
<div class="page-title">
    <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
        <a href="<?php echo $this->getRssLink() ?>" class="link-rss"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
    <?php endif; ?>
    <h1><?php echo $_helper->categoryAttribute($_category, $_category->getName(), 'name') ?></h1>
</div>

Eventually, after commenting it should looking something like this

1
2
3
4
5
6
7
8
9
<?php /*
 <div class="page-title">
    <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
        <a href="<?php echo $this->getRssLink() ?>" class="link-rss"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
    <?php endif; ?>
    <h1><?php echo $_helper->categoryAttribute($_category, $_category->getName(), 'name') ?></h1>
 </div>
*/
?>
  • http://www.getxhtml.com/psd-html/ PSD to HTML

    I just tried to remove category tile on my magento templates but it wasn’t remove due to my lack of knowledge. After reading your post, I get complete knowledge about it and succeed on remove category title from templates.

  • http://www.kizi10.info/ Kizi 10

    These instructions I have searched and there are times I have encountered difficulties in this regard. Thank you for sharing.

  • http://www.yepi2.co/ yepi

    oh! i so want work been this things