How To Change A WordPress Theme Without Destroying Your Website

How To Change A WordPress Theme Without Destroying Your Website Plays from YouTube

A free, step-by-step tutorial by Ferdy. Watch it right here or on YouTube.

Related: Learn more about WordPress

How to change a WordPress theme without destroying your website

You have a website that is up and running, but the theme is holding you back. Maybe the layout looks off, or a feature simply does not work. That was exactly the case for a friend I helped: her web shop products did not even open. In this tutorial I show you how I switched her website to a new theme safely, with a backup and a test copy, and then moved the result back to the live website.

Let me be honest upfront: changing a theme is not a magic button. There is no plugin that copies your old design into a new theme. It takes some time, but the end result can be a lot better.

Good to know: I recorded this video at the end of 2021. The Blocksy customizer, the WordPress widget screen and the backup plugin limits may look different today. For a current look at the theme I use here, see my Blocksy theme tutorial.

What a theme does, and what stays the same

Before you start, it helps to understand what a theme controls. A theme decides:

  • how your header looks,
  • how your footer looks,
  • the overall style, like colours, fonts and site width,
  • the style of your blog posts and your web shop pages.

The good news: if your pages are built with Elementor, all that Elementor content stays the same when you switch themes. My friend’s pages were made with Elementor, so everything between the header and the footer stayed intact. If your website was built with another page builder or with plain HTML, CSS and JavaScript, you need to rebuild those pages. There is no shortcut. My Elementor tutorial for beginners helps you with that.

Step 1: make a backup and a test copy

Never experiment on your live website. Here is what I did:

  1. Install All-in-One WP Migration on the live website and go to Export, File. Download the file. Now, if you mess up, you can always go back.
  2. In your hosting control panel, install a fresh WordPress website in a subfolder, for example yourdomain.com/new.
  3. Install All-in-One WP Migration on that test website, go to Import and drag in the file.
  4. Log in again with the login details of the live website, go to Settings, Permalinks and save twice.

The free version of the plugin had an import limit (300 megabytes at the time). My friend’s website was about 700 megabytes because of many unnecessary plugins, so I used the paid unlimited extension, which I have used for years. If the import screen shows a very low upload limit, you can raise the PHP upload limits in your hosting panel. I explain backups in more detail in how to make backups in WordPress.

Step 2: install the new theme

On the test website go to Appearance, Themes. My friend used a theme I had never heard of, and that is often a sign it is not the best choice. There are a few free themes that are really good, like Astra, Blocksy and Kadence. I chose Blocksy, activated it and installed the Blocksy Companion plugin, which you need to make everything work.

Right after switching, the content is still there, but the header and footer look plain, because the new theme has no settings yet. That is normal. Now you rebuild the look.

Step 3: rebuild the header, colours and layout

Go to the Customizer. These are the things I changed:

  • Header: I dragged the logo to the center, unticked the site title and set the logo height. I put the menu below it in the center and removed the search icon. There are nine areas in the header where you can place things.
  • Spacing: my friend could not get rid of the space around her logo. In Blocksy I used the logo margin, even negative values, to make it pixel perfect.
  • Sticky header: under the global header settings I made the main row sticky and made it less high.
  • Colours: I picked the colours from the old website with a colour picker in Chrome and added them to the global colour palette. Change a global colour once and it changes everywhere. I also set the link colour, the hover colour and a white site background.
  • Menu: I set the font, size and colours, and made the drop down open on hover.
  • Width: I set the site width to 1024 in the general layout, and set the same width in Elementor’s site settings, so the theme and Elementor line up.
  • Page titles: I removed the default page title on every page.

Then go through every page and fix what looks off. Some sections needed a boxed width or more padding in Elementor. If padding and margin confuse you, I have a tutorial on padding and margin.

The shop was the main reason to switch, and with Blocksy it worked right away. In the Customizer under WooCommerce, product archive, I removed the page title, chose the number of rows and products, changed the image ratio and set the button colours. For the single product page I picked a smaller layout. In the checkout settings you can hide fields like company name and address line 2. I also dragged a cart icon into the header. For the footer I added social icons and a copyright line with the current year, and placed the old footer text and image as widgets in the footer widget areas.

Step 5: move the new version to the live website

  1. On the test website, export again with All-in-One WP Migration.
  2. On the live website, go to Import and drag in the new file.
  3. Confirm that it overwrites the current website. You made a backup in step 1, so you are safe.

One last tip from this project: show what you sell on your homepage. A big decorative image with little content makes people leave. Show your products and people start scrolling.

Frequently asked questions

Will I lose my content if I change my WordPress theme?

Your posts, pages and products stay. Content built with Elementor also stays the same. What changes is the header, footer and overall style, which the theme controls.

Is there a plugin that copies my old design to a new theme?

No. Every theme has its own settings, so you rebuild the header, footer and styles in the new theme.

Which free theme should I switch to?

I used Blocksy here. Astra and Kadence are also strong free themes. See my Kadence tutorial if you want to compare.

Can I test a new theme without touching my live website?

Yes. Copy your website to a subfolder or test website, switch the theme there, and import it on the live website only when you are happy. Before you go live, run through the launch checklist prompt.

1 thought on “How To Change A WordPress Theme Without Destroying Your Website”

  1. 2022-02-12 12:52:17 says:

    Beste heer Korpershoek,
    Al jouw video’s lijken meer op verkooppraatjes, dan op lesgeven hoe je websites kan maken. Het begint altijd met die vervelende “hosting via Ferdykorps” en al die video’s gaan over de ooit door jouw gemaakte eerste video: “website bouwen met wordpress, astra en elementor” of andere reeds lang bekende thema’s.
    Je behandeld nooit onderwerpen zoals: “Hoe kan je domainnamen overbrengen naar een andere hostingprovider”; “Hoe kan je bij Hostinger meerdere domainnamen er bij kopen”, enz. Laatstaan om te programmeren met PHP in Wordpres. De video’s van jouw zijn oer vervelend!!!!!!!!!!!!!!!!!!

Leave your comment

Your email address will not be published. Required fields are marked *

Never miss
a tutorial

Every tutorial lives on YouTube. Subscribe and never miss a new one.

Black Friday A full year of Hostinger web hosting + free domain for about $30 with coupon code FERDY1 year hosting + free domain: about $30 with code FERDY Ends Dec 14 Get the deal Ad