how to change the layout of category page in magento1.9

how to change the layout of category page in magento1.9

October 17, 2026 · Illustrated author avatarBy Stefan Bogdanescu
how to change the layout of category page in magento1.9

Changing Category Page Layout in Magento 1.9

When trying to modify the layout of category pages in Magento 1.9 through the admin panel, it’s not uncommon to encounter issues where changes don’t reflect on the frontend despite following the correct steps. Let me guide you through resolving this common problem.

Understanding the Category Page Layout Structure

In Magento, the category page layout is determined by a combination of factors:

  1. Root Category: The layout settings in your root category are the default for all sub-categories.
  2. Sub-Category Custom Design: You can override the layout settings for specific sub-categories using the “Custom Design” option.
  3. Local XML Overrides: For more advanced customizations, you can create local.xml files to override the default layout.

Step-by-Step: Changing Category Page Layout

1. Set Up Your Root Category Layout

  • Navigate to your root category (e.g., Home > Default Category).
  • Click on the “Custom Design” tab.
  • Choose the desired template from the “Page Layout” dropdown menu.
  • Save your changes.

2. Override Sub-Category Layout Settings

For sub-categories, you have two options:

Option A: Inherit Parent Category Setting

  • Select the sub-category.
  • Click on the “Custom Design” tab.
  • Set “Use Parent Category Setting” to “Yes”.
  • Save your changes.

This will apply the same layout as the parent category to the selected sub-category.

Option B: Set Custom Layout for Sub-Categories

  • Select the sub-category.
  • Click on the “Custom Design” tab.
  • Choose the desired template from the “Page Layout” dropdown menu.
  • Set “Use Parent Category Setting” to “No”.
  • Save your changes.

3. Creating Local XML File Overrides

For advanced customizations, you can create a local.xml file in your theme’s layout directory (usually located at app/design/frontend/your_package/your_theme/layout). Here’s an example:

<?xml version="1.0"?>
<layout version="0.1.0">
    <default>
        <!-- Your default layout modifications here -->
    </default>

    <catalog_category_default>
        <reference name="root">
            <action method="setTemplate">
                <template>page/2columns-left.phtml</template>
            </action>
        </reference>
    </catalog_category_default>
</layout>

In this example, the local.xml file overrides the default category page layout to use a 2-column left template.

Common Mistakes and Troubleshooting

Missing Rewrite in .htaccess

Ensure your .htaccess file has the necessary rewrite rules for Magento to handle layouts correctly. The typical rule looks like this:

RewriteRule ^index.php/([^/]*)$ /$1 [L]

Caching Issues

Magento uses caching extensively, which can sometimes prevent layout changes from appearing immediately. Clear your cache (Flush Magento Cache under System > Cache Management) and check if the issue persists.

Conclusion: Achieving Your Desired Category Layout

Changing category page layouts in Magento 1.9 requires a systematic approach that involves setting up the root category, handling sub-categories appropriately, and potentially creating local.xml overrides for advanced customizations.

Remember to clear your cache after making layout changes to ensure they take effect immediately. If you still encounter issues, don’t hesitate to reach out to our team at Laravel Company for expert Magento development assistance.

Happy coding!

Magento 1 Catalog Themes Admin

Our network