Skip to content

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

Bright Themes

How to update your Ghost theme to a new version

Update one of our Ghost themes to its latest version without losing your changes or your design settings.

Norbert3 min read

Ghost keeps changing, and we update our themes to keep up: support for new Ghost features, bug fixes, and updated dependencies. When we release a new version, we email you what’s new and which files were added, changed or deleted. The same details are in each theme’s changelog.

How much work an update takes depends on one thing: whether you changed the theme’s files.

  • You didn’t change any files: download the new version and upload it (steps 2 and 5). Your design settings stay.
  • You changed files: follow every step below, so you keep your changes. Edits made with Edit code in Ghost Admin count too: they’re in the theme’s files, and an overwrite replaces them.

Changes you made in Ghost Admin, such as design settings, navigation and code injection, are not in the theme files. They stay either way.

What you need

  • A login to Ghost Admin as the Owner or an Administrator.
  • The latest version of the theme, from our customer portal (linked on the support page).
  • For changed CSS or JavaScript: Node.js on your computer, to build the theme’s assets.

1. Download a backup of your current theme

  1. In Ghost Admin, open Settings › Site › Theme, open the menu next to your active theme and choose Download.
  2. Keep this zip somewhere safe. If anything goes wrong, you can upload it again.
  3. Unzip a copy to work in.

2. Get the new version

Download the latest version of the theme and unzip it in a separate folder.

3. Bring the changes into your copy

Work through the list of files in the update email or the changelog:

  • New files: copy them from the new version into the same place in your copy.
  • Deleted files: delete them from your copy.
  • Changed files you never edited: copy them over, replacing yours.
  • Changed files you edited: take the new version and add your edits to it again, then put it in your copy. A diff tool makes this much easier.

Also copy the new package.json: it holds the new version number, and often new design settings.

4. Build the assets

Our themes bundle and minify their CSS and JavaScript for speed. If you edited CSS or JavaScript source files, build the assets again so your changes end up in the bundles. Each theme’s docs explain how, in the theme development section.

If you didn’t touch CSS or JavaScript, skip this step.

5. Zip and upload the new version

  1. Zip the theme folder. Give the zip the same name as the installed theme, for example glass.zip: Ghost names a theme after its zip file. Keep the name in package.json unchanged too.
  2. In Ghost Admin, open Settings › Site › Theme › Change theme › Upload theme and select the zip.
  3. When Ghost asks whether to overwrite the existing theme, choose Overwrite.
Settings › Site › Theme › Change theme

Because the name is the same, Ghost keeps your design settings. If Ghost doesn’t ask to overwrite, and offers to activate the theme instead, the zip’s name doesn’t match. See Keep your design settings when you update a Ghost theme.

Tip

Check the zip with GScan before you upload it, especially after merging your own changes.

If something isn’t right

  • Read the theme’s changelog for any extra step in that release.
  • Activate the theme again.
  • Upload your backup zip to see whether the problem comes from the new version.
  • On a self-hosted site, restart Ghost with ghost restart.

The result

Your site runs the latest version of the theme, with your own changes and your design settings in place. If you update often, let GitHub do the uploading: see How to deploy your Ghost theme with GitHub Actions.

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.