On this page
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
- In Ghost Admin, open Settings › Site › Theme, open the menu next to your active theme and choose Download.
- Keep this zip somewhere safe. If anything goes wrong, you can upload it again.
- 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
- 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 thenameinpackage.jsonunchanged too. - In Ghost Admin, open Settings › Site › Theme › Change theme › Upload theme and select the zip.
- When Ghost asks whether to overwrite the existing theme, choose Overwrite.
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.