Knowledgebase

How to install and change a WordPress theme

A WordPress theme controls how your website looks: colours, fonts, header, footer and page layouts. This guide shows you how to install a WordPress theme from the free theme directory, activate it, preview another theme before switching and what to check after you change themes. In the pictures we install the free Astra theme on an EgWeb demo store.

Changing the theme changes the design, not the content. Your posts, pages and products stay, but menus, widgets and some page layouts may need to be set again. Take a backup first: How to back up and restore your website.

1) Open the Themes page

Go to Appearance → Themes (1). You will see the installed themes. Click Add Theme (2) to browse new ones.

Appearance Themes and Add Theme

2) Search and install a theme

Type the theme name in the Search Themes box (1). Point to the theme and click Install (2).

Search for a theme and click Install

3) Activate it

When the installation finishes, the button changes to Activate (1). Click it to make this theme the design of your website.

Activate the installed theme

Back in Appearance → Themes the active theme is the first one, marked Active (1). Click Customize (2) to change its logo, colours and fonts; see How to change the site logo, title and tagline in WordPress.

The active theme and the Customize button

4) Preview another theme before switching

Point to any installed theme: Activate (1) switches immediately, while Live Preview (2) shows your site with that theme without changing anything for visitors.

Activate or Live Preview another theme

Here is the demo site after activating Astra:

The EgWeb demo site with the new theme

After changing the theme

  • Check the main menu: How to create a menu in WordPress.
  • Check the logo and site title, the home page, a post, a product page and the checkout on mobile.
  • Delete themes you do not use (keep one default theme as a backup). Unused themes still need updates.

Choosing a good theme

  • Recently updated and compatible with your WordPress version.
  • Fast and lightweight: How to speed up your WordPress website.
  • Supports WooCommerce if you have a store, and right-to-left (RTL) languages if your site is in Arabic.
  • Only install premium themes from the official seller. "Free" copies of paid themes often contain malware.

Common problems

  • The site looks broken after switching → clear the cache (LiteSpeed Cache → Purge All) and refresh, or switch back from Appearance → Themes.
  • You cannot install, the button is grey → the theme needs a newer PHP or WordPress version.
  • Upload a theme as a .zip → Appearance → Themes → Add Theme → Upload Theme.

Frequently asked questions

Will I lose my content if I change the theme?

No, content stays. Some theme-specific things such as page-builder layouts, widgets or shortcodes from the old theme may need to be redone.

What is a child theme?

A small theme that inherits from your main theme. Put code changes in it so they are not lost when the main theme updates.

Can EgWeb design a custom theme for me?

Yes, see our web design service.

Need help? Open a support ticket or message us on WhatsApp +20 127 113 3655.

  • WordPress, theme, Astra

Was this answer helpful?

0 Users Found This Useful