How to completely remove a custom theme from magento

How to completely remove a custom theme from magento

July 10, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How to completely remove a custom theme from magento

Removing Custom Themes from Magento Completely

Hello developers!

I hope this tutorial helps you resolve your issue with removing custom themes from Magento 1.7.0.2 completely. Let’s dive into the process step-by-step.

Understanding the Problem

The confusion arises when multiple themes are installed, and pages show different themes based on the configuration changes in the System > Configuration > Design section. This is because Magento uses a hierarchy of theme detection based on the store view context.

In your case:

  1. Theme 1 is compatible with 1.7.0.2 but not all pages are displaying it.
  2. Theme 2 is compatible with 1.6.x and some pages are showing this theme instead of Theme 1.
  3. The default Magento theme is interfering, overtaking some pages that should display Theme 1.

Let’s Begin

First, let me clarify a few points:

  • Uninstalling a theme means removing all its files from your file system.
  • Disabling a theme means preventing it from being selected in the design configuration.

Before proceeding, make sure you have a backup of your site. This is crucial for any modification involving files and database.

Step 1: Uninstall Theme 2

  1. Navigate to your Magento installation directory via FTP or SSH.
  2. Locate the skin folder (it should be under the root directory).
  3. Find the folder named after Theme 2 (e.g., theme2).
  4. Delete this entire folder and all its files.

Step 2: Verify Theme 1 is Active

Now, let’s ensure Theme 1 is active:

  1. Log in to your Magento admin panel.
  2. Go to System > Configuration > Design.
  3. Click on the “Current Config Scope” drop-down menu at the top right corner and select “Default Config”.
  4. Under the “Design” section for the default store view, ensure that “Theme” is set to Theme 1.

Step 3: Flush Cache

This step is critical:

  1. From your admin panel, go to System > Cache Management.
  2. Select all cache types and click on “Flush Cache Magentostores All”.

Step 4: Check the Storefront

Visit your store’s homepage in a new browser window/tab.

You should now see Theme 1 active across all pages.

If there are still issues, proceed to the next step for advanced troubleshooting.

Advanced Troubleshooting (Optional)

  1. Remove and Reinstall Theme 1:

    If you suspect some files from Theme 2 are still present or interfering with Theme 1, remove Theme 1 completely:

    • Delete the skin folder containing Theme 1.
    • Download a fresh copy of your chosen Theme 1 package.
    • Extract it to your local machine.
    • Upload all the extracted files back into the skin folder, overwriting any existing files.
  2. Manually Remove Theme References:

    Sometimes, theme references can be preserved in the database even after deletion from the file system:

    • Connect to your MySQL database using a client like phpMyAdmin or MySQL Workbench.
    • Navigate to the core_config_data table.
    • Search for any records where the path field contains the name of Theme 2.
    • Delete those records.

Conclusion

Removing custom themes from Magento isn’t just about deleting files; it involves a proper understanding of the theme detection hierarchy and cache management. Always remember to flush your cache after making configuration changes or file modifications.

If you’re looking for professional assistance with custom theme development, consider reaching out to Laravel Company. Our experienced Magento developers are always ready to help resolve complex issues like this one.

Magento 1 Database Themes Configuration

Our network