Themes
How to install a theme from the catalogue or a ZIP archive, apply it to the site, update it, switch back and delete it.
A theme sets the frame of the site: where the header and menu sit, how cards look and which palettes Studio offers. On this page you will install a new theme, try it on and switch visitors to it, and switch back if something goes wrong.
The word "theme" has three meanings in Flute. Here it means the design package installed in AdminExtensionsThemes. The "Ready-made themes" on the Studio Style tab only change colours and fonts inside the current theme, see Site style. The light and dark schemes are switched there too.
Every theme action needs admin.boss. Installing, applying and deleting load the theme's code, so Flute first asks you to "Confirm this action" with your password or a 2FA code.
The themes screen
Open AdminExtensionsThemes. The screen has three parts.

"On your site now" 1 shows a live preview of the home page and the name of the active theme. "Customize in Studio" 2 opens the editor, and "Details" 3 leads to the theme page. The theme's own settings, such as where the menu sits and how wide the site is, live in Studio: the Style tab, "Header and menu".
"Installed themes" 4 lists the other themes on the site. Each card has a preview, the version, the author and the colours of its schemes. Below the card sits "Apply" or, if the theme isn't installed yet, "Install".
"Theme catalogue" shows themes from flute-cms.com. Without a site key it reads "Connect your Flute key to see the theme catalogue": click "Connect Flute key". Installed themes work without the key.
Install a theme from the catalogue
Open the theme in the catalogue
Click a card in "Theme catalogue". The theme page opens with a description and "Details": version, author, compatibility. If the theme has a "Live demo", look at a site running it before you install.
Click "Install"
The theme downloads and shows up under "Installed themes". The site doesn't change yet.
Click "Apply"
Flute asks: "Apply the … theme? Visitors will see the new look right away. You can switch back at any time." Once you confirm, the theme becomes active.
Upload a theme archive
A theme that isn't in the catalogue can be installed from a ZIP archive. Click "Upload ZIP" at the top of the screen and pick the file. The archive must contain theme.json. How to pack your own theme into such an archive is covered in Your own theme. Modules go through the same window, see Installing modules.

After the upload the window reports that the theme was uploaded, with the hint "It is not active yet. Install and switch to it on the themes page." Find the theme under "Installed themes" and click "Install": it becomes active right away and the previous theme is switched off.
If a theme with that key already exists, the window offers "Replace installed version". This is how you install a newer version of a theme you got as an archive.
The theme page
Click an installed theme's card, or "Details" on the active one.

| Item | Meaning |
|---|---|
| Status | "Active", "Inactive" or "Not Installed" |
| Installed | the theme version on the site |
| Latest version | the catalogue version, if the theme came from there |
| Compatibility | "Works with this Flute version" or "Built for a newer Flute version" |
| Key | the theme folder name, with a copy button |
When the catalogue has a newer version, the card shows "Update v…" and the theme page has an "Update to v…" button. The "…" menu holds "Download theme" (an archive with all its files), "Author’s site" and "Delete".
A theme can ship several colour schemes. They show on the preview, and the scheme is picked in Studio: "Pick a scheme in Studio after applying the theme."
You can look at an installed but inactive theme on the Studio canvas while visitors keep the current one. Copy the "Key" from the theme page and open https://<YOUR_DOMAIN>/?studio=1&studio_theme=<key>. This takes "Site theme" (sections.theme). If the theme doesn't build, Studio says "The theme cannot be shown: …".
Switch back
Open the themes screen and click "Apply" on the previous theme. If you deleted it, install it again from the catalogue or the archive.
For the first ten minutes after you apply a theme, Flute watches it. If it fails for visitors three times, the site switches back to the previous theme on its own and administrators get a "Theme switched back" notification: "The theme «…» kept failing for visitors right after it was turned on, so «…» is active again. The theme is still installed: fix it and turn it on again."
Delete a theme
Pick "Delete" in the "…" menu of the card or the theme page and confirm. The theme folder and its files are removed from the server. Only an inactive theme can be deleted, so apply another one first.
The default theme cannot be deleted.
The site keeps the standard theme as a fallback: Flute switches to it when the active theme disappears from the server. It has no "Delete" or "Download theme" item.
Troubleshooting
For any other message, use the error lookup.
| Message | What to do |
|---|---|
| "There is no module.json or theme.json in the archive, so it is neither a Flute module nor a theme." | the archive holds no theme, get the right one from the author |
| "theme.json is invalid or has no name." | ask the theme author to fix the archive |
| "This theme is built for a newer Flute. Update Flute and try again." | update Flute, then upload the archive again |
| "Theme “…” already exists. You can replace its files with this archive." | click "Replace installed version" or pick another archive |
| "Error enabling theme: …" | the theme didn't switch on, the reason follows the colon |
| "Theme not found." | the theme folder was removed from the server, click "Refresh Themes List" |