Update a Ghost Theme Without Losing Your Settings

Ghost identifies a theme by the name of the zip you upload. Same name, and your settings survive the update. We tested what survives and what does not.

Luxe Themes 8 min read

Quick answer: Ghost identifies an installed theme by the name of the zip file you uploaded, not by the name inside the theme. Upload the new version under the same file name and Ghost overwrites the files and keeps every setting you chose. Upload it under a new name, which is what a version number in the file name does, and you get a second theme with default settings. Edits you made to theme files are lost either way, so keep customisations in code injection or in a copy you control.

A new version of your theme has arrived. You have spent time on the settings, maybe changed a template or two, and the question is whether updating will undo that work. The answer depends on three things that live in three different places, and on one detail of how Ghost names a theme that almost nobody knows.

This guide explains the mechanism, shows what we found when we tested it on one of our own sites, and ends with a short routine that makes an update safe. It applies to any theme, on Ghost(Pro) or self-hosted.

Three things, three places

When you look at your site, three separate layers produce what you see, and an update touches only one of them.

The theme files. Templates, stylesheets and scripts inside the zip. Uploading a new version replaces them. Anything you changed in those files, through Ghost’s built-in code editor or by editing the zip, is overwritten.

The theme’s settings. The options a theme exposes under Settings → Design & branding → Customize, on the Theme tab: layouts, colours, toggles, text fields. These are not in the files. Ghost stores them in its database against the installed theme entry. Whether they survive an update depends entirely on whether the new upload lands on the same entry, which the next section explains.

Everything that is not the theme. Your brand colour, logo and icon, navigation, code injection, redirects and routes file, and every post and page. None of it belongs to the theme, and none of it is touched by a theme update. Code injection in particular survives everything, which is why it is the safest place for small customisations.

How Ghost decides which theme you are updating

Here is the detail that causes most lost settings. A Ghost theme has two names. One is inside it, in the package file, and it is what the theme calls itself. The other is the name of the zip file you upload. Ghost uses the second one to name the installed entry, and the entry is what settings attach to.

So if your theme’s file is mytheme.zip and you upload the new version as mytheme.zip, Ghost recognises the entry. It asks whether to overwrite it, replaces the files and leaves the settings alone. If you upload the new version as mytheme-v2.zip, Ghost sees a name it has never met and installs a second theme next to the first. The second one has the same name inside, the same look, and every setting at its default.

We tested this on one of our own sites, with a small throwaway theme that has two settings, a text field and a toggle:

StepWhat we didFilesSettings
1Installed version 1 as luxe-update-test-1.0.0.zip, set the text field and switched the toggle offversion 1our values
2Uploaded version 2 under the same file name and confirmed the overwriteversion 2our values, untouched
3Uploaded version 2 as luxe-update-test-1.0.1.zip and activated itversion 2defaults
4Activated the first entry againversion 2our values, back

Step 3 is the one that generates support tickets. The theme looked updated, the version number was right, and every setting was gone. Step 4 shows that nothing was actually lost: the values were still attached to the first entry.

Ghost admin Installed themes list on a Luxe Themes test site showing two entries with the same theme name, luxe-update-test, one marked active with the folder name luxe-update-test-1.0.0 and a second with the folder name luxe-update-test-1.0.1

Ghost’s admin shows both names. In the installed list, the name in bold is the one inside the theme, and the name in parentheses is the entry, which is the file name you uploaded. The active theme card shows the entry name first and the version from inside the theme in brackets. That is how you can end up with an entry called one version running the files of another.

Ghost admin Theme settings card showing the active theme as luxe-update-test-1.0.0 with version v1.0.1 in brackets, after version two was uploaded under the version one file name

For the technical reader: Ghost’s upload code takes the zip’s file name, strips the extension, sanitises it, and uses that as the theme’s folder on disk. Custom settings are stored per folder name. Only the code editor’s “save as new theme” action copies settings from one entry to another; a normal upload never does.

The safe update routine

  1. Download the current theme first. Under Settings → Theme, open Change theme, switch to Installed, and use the menu next to your theme to download it. If the update goes wrong, uploading this file under the same name puts everything back.
  2. Write down or screenshot your theme settings. Open Design & branding → Customize, then the Theme tab. This takes a minute and removes the only real risk.
  3. Check the entry name. In the installed list, the name in parentheses is the file name Ghost expects.
  4. Rename the new zip to match. Theme makers often ship versioned file names, ourselves included, because they make it easy to see which version you downloaded. Rename the file to the entry name before uploading, and Ghost will treat it as an update rather than a new theme.
  5. Upload and confirm the overwrite. Ghost shows a dialog naming the entry it is about to replace. That dialog is the sign you got the name right. If you see no dialog and a new row appears in the installed list instead, the name did not match.
Ghost admin Overwrite theme dialog reading The theme luxe-update-test-1.0.0 already exists, do you want to overwrite it, with Cancel and Overwrite buttons
  1. Look at the site, then at the settings. New features usually arrive as new settings, so a fresh option with a default value is expected. An old option with a default value is not, and step 2 lets you tell the difference.

If the settings are already gone

If you have already uploaded under a new name and the theme sits at its defaults, nothing has been deleted. In the installed list, activate the older entry: your values are there. Note them, activate the new entry, and enter them again. Then delete the older entry so the two do not confuse you next time, and from then on upload under the name of the entry you kept.

There is one case where a setting disappears for good. If a new version of the theme renames a setting internally, Ghost’s documentation says the old value is dropped and the setting starts again at its default. That is a decision the theme maker made, not something you did, and the release notes should say so.

If you edited the theme’s files

An overwrite replaces every file, so edits made in Ghost’s code editor, or in the zip before you uploaded it, do not survive. Ghost’s own help page says the same about updating a modified official theme: it is not recommended, because the update overwrites the changes.

The way out is to move customisations to places an update cannot reach. Styling changes go into Settings → Code injection, where a few lines of CSS override the theme’s own; our code injection guide covers what that box can and cannot do. Layout choices usually exist as theme settings already, and it is worth checking before editing a template. What remains, real template changes, is the part you have to carry forward yourself. Keep a note of every file you changed and what you changed, and apply the same edits to the new version before uploading it.

For the technical reader, the durable way to do that is a small repository. Unzip the theme, commit it, and commit your changes on top. When a new version arrives, commit that version and merge your changes over it. Zip the result and upload it under the installed entry’s name. This is the workflow theme developers use, and it turns an update from an afternoon of re-doing edits into a few minutes of resolving differences.

If you have changed a theme so much that merging a new version is more work than the update is worth, you have a theme of your own now. Treat it as one, keep it under the name you gave it, and take from new releases only the changes you want.

Official themes and the Update button

Ghost’s own themes are a special case. Under Change theme, select the official theme you use and Ghost shows an Update button, which fetches the latest version for you. The same rule applies: if you modified the theme, the update overwrites your modifications. The default theme, Source, updates itself along with Ghost as long as you have not changed it.

Where this leaves you

You know which of the three layers an update touches, why the file name decides whether your settings survive, and how to check the entry name before uploading. Our own theme documentation carries the update steps for each theme, and from this month on it says to rename the download to match the installed entry. If the customisation you are protecting is a stylesheet tweak, the code injection guide is the next thing to read. If it is a whole layout, the theme’s own settings are worth a second look before any file is edited.

Frequently Asked Questions

Do Ghost theme settings survive a theme update?
Yes, if the new version is uploaded under the same file name as the installed one. Ghost stores theme settings against the installed entry, which is named after the zip file. Upload the new zip under a different name and Ghost treats it as a second theme with default settings.
Why did my theme settings reset after updating?
Almost always because the new zip had a different file name, such as a version number in it. Ghost created a new entry next to the old one, and the new entry starts with defaults. Your values are still on the old entry; activate it to see them, or re-enter them on the new one.
What happens to my theme file edits when I update?
They are gone. Overwriting a theme replaces every file in it, including any you edited in Ghost's code editor or by hand. Keep customisations in code injection or theme settings where you can, and keep a copy of any file edits so you can apply them again.
How do I update an official Ghost theme?
Open Settings, then Theme, then Change theme, select the theme you use and click Update. Ghost warns that this overwrites your changes if you modified the theme. The default theme, Source, updates itself along with Ghost as long as you have not modified it.

Keep reading

Recommended Themes

Themes with at least one of the features this guide touches: multiple post layouts and color schemes.

Senna Ghost theme homepage on warm paper: a left sidebar with menu, social links and a featured post, a serif hero headline beside a flower illustration, a tag filter row and a grid of white post cards.

Senna

Strongest here

Senna is writing on paper. A warm paper ground, white cards resting on it and a serif carrying the headlines, with the navigation in a sidebar that stays beside your work instead of above it. Built for writers, newsletters and small magazines where the words come first, and managed entirely from Ghost admin.

$89
Tribune Ghost theme front page: a blackletter masthead over a section tab bar, three lead stories beside a large photograph, and a Featured sidebar list of thumbnails.

Tribune

Strongest here

Tribune is the front page of a newspaper. Lead stories beside the day's picture, a Featured list at the edge, then your sections by topic, each in its own layout, under a masthead that folds away as the reader scrolls. Built for newspapers and multi-author magazines that publish several stories a day, and managed entirely from Ghost admin.

$89
Luno Ghost theme homepage: a fixed left sidebar with a grouped menu and a light and dark switch, a search bar above the content, three featured cover cards and a row of tag pills.

Luno

Strongest here

Luno is a blog that works like an app. A menu that stays open in a fixed sidebar, search a keystroke away, a light and dark switch beside your logo, and a homepage that opens with three featured stories as cover cards. Built for travel, lifestyle and product blogs whose readers expect an interface they already know, and managed entirely from Ghost admin.

$89
Flow Ghost theme homepage: a profile-style hero with a round photo, bio and social icons, a row of circular topic highlights and a square photo grid of posts.

Flow

Strongest here

Flow is a profile page for a creator. Your photo, a line about you and your links at the top, a row of round highlights for your topics, and your posts as a square grid, edge to edge. The menu waits behind one button so nothing competes with the pictures. Built for creators and communities whose readers arrive from social media, and managed entirely from Ghost admin.

$89
Rune Ghost theme homepage: a top menu bar with a red Sign Up button, a rounded cover-image hero with a headline and subscribe field, and a Latest section of three post cards.

Rune

Strongest here

Rune is an editor's front page. A cover-image welcome with one thing to do, then the latest stories, your Editor's Picks as tall cover cards, one topic you highlight, and the team behind it. Built for digital magazines where someone decides what goes on top, and managed entirely from Ghost admin.

$89
Nio Ghost theme homepage: a top menu bar, a large featured photo card with the title over it, three row cards beside it and a grid of square post cards.

Nio

Strongest here

Nio is a grid of squares. One featured story as a large photo card, then your posts as square cards four across, a band for the topic you highlight, and a row of your authors. Every image sits in the same frame, so a page of mixed pictures stays in order. Built for studios, portfolios and design blogs, and managed entirely from Ghost admin.

$69
Shiro Ghost theme homepage: a centered site title and description above a large search field, a Featured Stories carousel of portrait cards and a Latest Stories grid.

Shiro

Strongest here

Shiro starts with a search. Your name, one line, and a search field where a hero usually goes, then your featured stories as portrait cards on white or one of seven shades of paper. Nine ways to open a post and membership pages inside the theme. Built for minimal magazines and archives that readers search rather than browse, and managed entirely from Ghost admin.

$149

Also supports these features:

Comparing options? Browse all premium Ghost themes side by side.

Get every theme in one bundle

The complete Luxe Themes bundle — every theme, one purchase.

$249