How do I remove all of the pages only the top toolbar in Magento

How do I remove all of the pages only the top toolbar in Magento

October 17, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How do I remove all of the pages only the top toolbar in Magento

Removing All Pages from Magento Toolbar (Toolbar 1)

Are you looking to remove all pages from your Magento site’s top toolbar? This is a common requirement for streamlining navigation and improving user experience. Let me guide you through this process with a practical approach.

Understanding the Magento Toolbar

In Magento, toolbars are managed by the Mage_Core_Block_Template class. There are multiple toolbars defined in the system - by default, toolbar 1 is used for top navigation and toolbar 2 for left sidebar navigation.

Removing Pages from Magento Toolbar (Toolbar 1)

To remove all pages from your Magento site’s top toolbar (Toolbar 1), you need to modify the catalog_category_view.xml layout file. Here’s a step-by-step guide:

  1. Navigate to your Magento installation directory via FTP or SFTP.

  2. Locate the app/design/frontend/<your_package>/<your_theme>/layout/ folder.

  3. Open the catalog_category_view.xml file in a text editor.

  4. Look for this line of code:

<block type="page/html_topmenu" name="topmenu" template="page/html/topmenu.phtml"/>

This is where the top navigation (Toolbar 1) is defined.

  1. Comment out or delete the entire block definition to remove all items from the toolbar:
<!--
<block type="page/html_topmenu" name="topmenu" template="page/html/topmenu.phtml"/>
-->
  1. Save your changes and upload the file back to your server, replacing the existing one.

An Alternative Approach: Customizing Navigation

If you want more control over your navigation menu, consider using Magento’s built-in features for managing categories and menu items:

  • Use the Magento Admin Interface: You can manually add, remove, or rearrange categories in your admin panel. This allows you to maintain a clean, organized top toolbar without needing to modify core files.

  • Install a Third-Party Extension: There are numerous extensions available that provide advanced navigation management features. These can help you create complex menu structures with ease.

Best Practices for Managing Magento Navigation

Remember these best practices when working with Magento toolbars:

  • Always backup your site before making significant changes to the codebase.
  • Avoid modifying core files directly if possible. Use layout updates or custom themes instead.
  • Keep your Magento installation up-to-date to ensure you have access to the latest features and security patches.

Conclusion

Removing all pages from Magento’s top toolbar (Toolbar 1) is a simple yet powerful way to declutter your site’s navigation. By following this guide, you can easily customize your Magento store’s user interface to match your business needs.

Remember that Magento offers many built-in tools for managing navigation. If you find yourself needing more advanced features, consider exploring the vast ecosystem of Magento extensions or consulting with a professional development team like Laravel Company.

Catalog Themes

Our network