Skip to content

Celebrating our new site: 30% off everything with code , until Dec 1.

Bright Themes

How to install a theme in Ghost

Upload a new theme to your Ghost site, check it, and make it live with your menu and design settings in place.

Norbert5 min read

Ghost comes with a free theme, Source, and lets you switch to any other theme in a few minutes. You can pick one of Ghost’s free official themes from inside Ghost Admin, or upload a theme you bought or built as a zip file. This tutorial covers the upload, and what to check before and after it, so the new design goes live without surprises.

Your posts, pages, members and newsletters don’t change when you switch themes: they live in Ghost, not in the theme. What changes is how they look, and the settings that belong to the theme.

What you need

  • A login to Ghost Admin as the Owner or an Administrator. Other staff roles can’t change the theme.
  • The theme as a .zip file, as you downloaded it from the theme’s author. Don’t unzip it. If the download holds more than the theme, such as documentation, upload the zip that contains the theme’s package.json and templates.
  • On Ghost(Pro): a plan that allows custom themes. The Starter plan only runs Ghost’s official themes; uploading any other theme needs the Publisher plan or higher (opens in a new tab). Self-hosted sites and other hosts have no such limit.

1. Back up your current theme

If your current theme has changes of your own, made in its files or with Edit code in Ghost Admin, keep a copy before you switch, so you can go back.

  1. Open Settings › Site › Theme.
  2. Open the menu next to your active theme and choose Download.

Keep the zip somewhere safe. Your old theme also stays in the Installed list after the switch, so you can activate it again at any time.

2. Check the theme with GScan (optional)

Ghost checks every theme when you upload it, with its own validator, GScan. If you want to see the report first, or the theme comes from somewhere you don’t know, upload the zip at gscan.ghost.org (opens in a new tab). It lists:

  • Errors: the theme won’t work properly with your Ghost version. Fatal errors stop the upload.
  • Warnings: mostly features that will stop working in a later Ghost version.

A theme that’s maintained for the current Ghost version shows no errors. See Check a Ghost theme with GScan for the command-line version.

3. Upload the theme

  1. Open Settings › Site › Theme and choose Change theme.
  2. Choose Upload theme.
  3. Select the zip file, or drag it onto the upload area.
Settings › Site › Theme › Change theme

If a theme with the same name is already installed, Ghost asks whether to overwrite it. Choose Overwrite only when you’re updating that theme: Ghost then keeps its design settings. If it’s a different theme that happens to have the same name, rename its zip first: Ghost names a theme after its zip file.

If the upload fails, Ghost shows the theme’s fatal errors. Send them to the theme’s author: they need a fix in the theme itself.

4. Activate it

When the upload is done, Ghost shows Upload successful with what it found in the theme.

  1. Choose Activate theme. The new theme is live straight away.
  2. If Ghost offers Activate with errors instead, the theme has errors that aren’t fatal. Read them first: it may work, but some pages or features could be broken. Ask the theme’s author before you use it on a live site.

You can also activate a theme later: open Settings › Site › Theme, choose Change theme, then the Installed tab, and choose Activate next to the theme.

5. Upload routes.yaml, if the theme has one

Some themes come with their own routes.yaml, the file that tells Ghost which URLs show which templates, for example a custom homepage or a page that lists one tag. Ghost doesn’t read it from the theme: you upload it separately.

  1. Open Settings › Advanced › Labs and choose Open.
  2. Choose the Beta features tab.
  3. In the Routes row, open the menu next to Edit, choose Upload file, and select the theme’s routes.yaml.

Download the current file first from the same menu (Download file) if you changed it yourself. Uploading replaces it. To learn what the file does, read how routing works in Ghost.

6. Set up the theme

Every theme has its own design settings, so your new theme starts from its defaults.

  • Design settings: open Settings › Site › Design & branding and choose Customize. Ghost’s own settings, such as your accent color, logo, publication cover and fonts, are on the Brand tab and carry over from your previous theme. The theme’s settings are on the Theme tab, in up to three groups: Site wide, Homepage and Post. How to add custom theme settings in Ghost explains them.
  • Navigation: open Settings › Site › Navigation and choose Customize. Your menu items stay, but themes show the Primary and Secondary menus in different places, and some support dropdown menus.
  • Language: if your site isn’t in English, check Settings › General settings › Publication language, and see How to translate your theme in Ghost.
  • Code injection: if you added CSS for the old theme in Settings › Advanced › Code injection, check it still applies, or remove it (how code injection works). Styles written for one theme’s class names rarely fit another.

Then look at the site as a reader: the homepage, a post, a page, a tag page, and the sign-up and account screens if you have members. Check on a phone too.

Our themes come with their routes.yaml in the zip and a docs page that lists every design setting, so steps 5 and 6 are written out for each theme.

If something isn’t right

  • Pages show a 404 or the wrong layout: the theme may expect its routes.yaml. Upload it (step 5), or ask the theme’s author whether it needs one.
  • The design looks broken in places: clear your browser’s cache, then check Settings › Advanced › Code injection for old CSS.
  • You want the old design back: open Settings › Site › Theme, choose Change theme, then the Installed tab, and choose Activate next to your previous theme. Its design settings are still there.
  • Ghost refuses the upload: read the errors Ghost lists, check the zip at gscan.ghost.org (opens in a new tab), and make sure you uploaded the theme’s zip, not a download that wraps it.

The result

Your site runs its new theme, with your content, members and menus in place and the theme’s settings set the way you want them. When the theme’s author releases a new version, upload it the same way and choose Overwrite: How to update your Ghost theme to a new version walks through it.

Related posts

More on themes

Get the Bright Themes newsletter

New tutorials and explainers, what changed in Ghost, and our theme releases. No spam, unsubscribe anytime.

Get the Bright Themes newsletter

New tutorials and explainers, what changed in Ghost, and our theme releases. No spam, unsubscribe anytime.