# Voice documentation

Version 4.4.0 · Updated 11 Nov 2026 · Works with Ghost 6 · Changelog: https://brightthemes.com/changelog/voice

Source: https://brightthemes.com/docs/voice

How to install, set up and customize the Voice Ghost theme, from its design settings to theme development.

## Install a theme

Upload a theme to Ghost and activate it, step by step, in **Settings › Site › Theme**.

To upload the theme:

1.  Log in to Ghost Admin at `yoursite.com/ghost/`.
2.  Open **Settings › Site › Theme** and choose **Change theme**.
3.  Choose **Upload theme** and select the `theme.zip` file. If a theme with the same name is installed, Ghost asks whether to overwrite it: choose **Overwrite** to update it and keep its design settings.
4.  When the upload is done, choose **Activate theme** in the **Upload successful** dialog.

Ghost checks the theme with GScan when you upload it and lists any problems. The full walkthrough, with what to check when something goes wrong, is in [How to install a theme in Ghost](https://brightthemes.com/blog/ghost-theme-install).

*Ghost Admin: Settings › Site › Theme › Change theme*

## Upload routes.yaml

Upload the theme's routes.yaml in **Settings › Advanced › Labs**, so collections and pages work as the theme expects.

> [!CAUTION]
> The theme needs its `routes.yaml` file, which is inside the theme's zip.

Uploading `routes.yaml` is a separate step from uploading the theme:

1.  Log in to Ghost Admin at `yoursite.com/ghost/`.
2.  Open **Settings › Advanced › Labs**, choose **Open**, then the **Beta features** tab.
3.  In the **Routes** row, open the menu next to **Edit**, choose **Upload file** and select the `routes.yaml` from the root directory of the theme.

The `routes.yaml` in the zip sets up the URLs the theme expects. For everything routing in Ghost can do (collections, channels, taxonomies and static routes), see [Ghost CMS dynamic routing & routes.yaml](https://brightthemes.com/blog/ghost-routing).

*Ghost Admin: Settings › Advanced › Labs*

```yaml title="routes.yaml"
## routes.yaml

routes:

collections:
  /:
    permalink: /{slug}/
    template: index

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/
```

## Custom settings

Change the theme's design settings in Ghost Admin without code, and keep them when you update the theme.

The theme has its own [design settings](https://brightthemes.com/blog/ghost-custom-theme-settings), which you change in Ghost Admin without code. Open **Settings › Site › Design & branding** and choose **Customize**: the theme's settings are on the **Theme** tab, in three groups, **Site wide**, **Homepage** and **Post**. In these docs a setting is written with its group, for example **Settings › Site › Design & branding › Theme › Site wide**.

*Ghost Admin: Settings › Site › Design & branding › Theme*

The theme's settings, defined in its `package.json`:

| Setting | Group | What it does |
|---|---|---|
| Background color | Site wide | Set the main background color |
| Text color | Site wide | Set the main text color |
| Border color | Site wide | Set the border color |
| Font headings | Site wide | Set the heading font (when the Ghost 'Heading font' is set to theme default) |
| Font body | Site wide | Set the body font (when the Ghost 'Body font' is set to theme default) |
| Sidebar subscribe headline | Site wide | Set the headline for the sidebar subscribe section on the homepage & posts |
| Featured posts slider | Homepage | Enable a slider section showing all featured posts |

> [!NOTE]
> To keep your design settings when you update the theme, upload the new version under the same zip file name, or deploy it with the [GitHub action](https://brightthemes.com/blog/ghost-theme-deployment). More in [keeping your design settings](https://brightthemes.com/blog/ghost-theme-settings-update).

## Homepage

The homepage is defined by the `home.hbs` file and it has several sections
based on your theme settings:
- featured posts slider (`partials/featured-posts.hbs`)
- latest posts
- sidebar with a subscribe section (`partials/sidebar.hbs`)

> [!NOTE]
> Elements like the [header](https://brightthemes.com/docs/voice#header) and [footer](https://brightthemes.com/docs/voice#footer) are included in all other templates (posts, pages).

### Featured posts slider

The slider shows all your featured posts. It's on by default; you can turn off **Featured posts slider** in **Settings › Site › Design & branding › Theme › Homepage**.

### Sidebar

The sidebar's subscribe section shows on the homepage and on posts. Its headline is set with **Sidebar subscribe headline** in **Settings › Site › Design & branding › Theme › Site wide**.

## Header

The header is defined in `partials/header.hbs` and it renders:
- publication logo
- primary navigation
- Ghost's native search button

## Footer

The footer is defined in `partials/footer.hbs` and it renders:
- site title
- [social links](https://brightthemes.com/docs/voice#social-links)

## Templates

The default post layout is defined by the `post.hbs` template and the default page layout by the `page.hbs` template.

Voice includes 1 [post template](https://brightthemes.com/blog/ghost-custom-templates) in addition to the default. You choose it in the post settings, under **Template**:
- `custom-post-with-sidebar.hbs` — a post with the [sidebar](https://brightthemes.com/docs/voice#homepage-sidebar) beside the content

## Color customization

You can change the accent color in **Settings › Site › Design & branding › Brand**. The theme's colors are CSS custom properties, so you can override them in **Settings › Advanced › Code injection › Site header** ([what code injection is](https://brightthemes.com/blog/ghost-code-injection)).

Three more colors are settings in **Settings › Site › Design & branding › Theme › Site wide**:
- **Background color** — the main background color (default `#ffffff`)
- **Text color** — the main text color, used for most of the text (default `#262626`)
- **Border color** — the color of borders, for example the footer's (default `#e6e6e6`)

With these settings you can set up your own color scheme.
For examples, see the demo's [colors page](https://voice.brightthemes.com/colors/).

Some useful tools for choosing colors and gradients:

- [Fuel HSL color picker](https://fffuel.co/cccolor/)
- [Gradients | Components AI](https://components.ai/gradient/)
- [CSS Gradient Generator](https://cssgradient.io/)

## Typography

> [!NOTE]
> Ghost has [custom fonts](https://ghost.org/changelog/custom-fonts/) of its own: you set the heading and body fonts in **Settings › Site › Design & branding › Brand › Typography**.

To use the theme's own fonts instead, set both to **Theme default** there.

For a font Ghost doesn't offer (your own files or a Google Font added with code injection), follow [how to add custom fonts in Ghost](https://brightthemes.com/blog/ghost-custom-fonts).

By default the theme uses **Abril Fatface** for headings and **System** for body.

You can change them with two settings in **Settings › Site › Design & branding › Theme › Site wide**, which apply when Ghost's **Heading font** and **Body font** are set to **Theme default**:
- **Font headings** — the font of the headings (default `Abril Fatface`)
- **Font body** — the font of the rest of the text (default `System`)

Both have the same options: `System`, `Abril Fatface`, `Cinzel`, `Domine`, `IBM Plex Sans`, `Inter`, `Poppins` and `PT Serif`.

> [!TIP]
> `System` uses the reader's system font and makes no requests to Google Fonts, which helps when GDPR is a concern.

To keep a Google font but serve the files from your own site, see [self-hosting Google Fonts](https://brightthemes.com/blog/ghost-google-fonts#self-host-the-font-instead).

## Ghost config

Settings in Ghost's config file that the theme can use, such as image sizes and the posts per page.

Some of the theme's configuration lives in its `package.json` file: the posts per page, the image sizes and the [custom settings](https://brightthemes.com/docs/voice#custom-settings).

### Posts per page

`posts_per_page` is the number of posts a list shows before it's paginated: the homepage, tag and author pages.

To change it, edit the value in `package.json`:

```json
"config": {
  "posts_per_page": 12
}
```

### Image sizes

Ghost makes copies of every uploaded image at the [sizes the theme asks for](https://ghost.org/docs/themes/assets/#responsive-images-configuration), so pages can load the right size. They're set under `image_sizes` in `package.json`; edit them before you upload the theme.

```json
"image_sizes": {
  "xxs": {
    "width": 30
  },
  "xs": {
    "width": 100
  },
  "s": {
    "width": 320
  },
  "m": {
    "width": 640
  },
  "l": {
    "width": 960
  },
  "xl": {
    "width": 1280
  },
  "xxl": {
    "width": 2000
  }
}
```

## Comments

Turn on Ghost's native comments for members, or add a third-party comment system to the theme.

The theme uses [Ghost's native comments](https://brightthemes.com/blog/ghost-comments). Turn them on in **Settings › Membership › Access**, under **Who can comment on posts?**:

- `All members` — every signed-in member
- `Paid-members only` — signed-in members with an active paid subscription
- `Nobody` — comments are off

## Icons

How the theme's icons work and how to add or change one.

The theme's icons are from [Tabler Icons](https://tabler.io/icons). Only the icons the theme uses are included, each as its own `.hbs` file in `partials/icons/`.

To add an icon:

1.  Find the icon on [Tabler Icons](https://tabler.io/icons) and select it: this copies its SVG code.
2.  In `partials/icons/`, create a file named after it, for example `camera.hbs`.
3.  Paste the code into the file and save it.

For example, the `camera` icon copies as:

```html
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-camera" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
  <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
  <path d="M5 7h1a2 2 0 0 0 2 -2a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1a2 2 0 0 0 2 2h1a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2" />
  <circle cx="12" cy="13" r="3" />
</svg>
```

To show an icon in the theme's templates, use the `partials/icon.hbs` partial with the icon's name (and an optional size):

```hbs
{{>icon name="camera"}}
```

## Social links

Add social links to the theme: the networks Ghost supports, and others through code injection.

The theme shows the social accounts you set in **Settings › General settings › Social accounts**.

It can also link these platforms, which Ghost has no field for:
- Discord
- GitHub
- Pinterest
- Reddit
- Telegram
- TikTok
- WhatsApp

To add one, put its link in **Settings › Advanced › Code injection › Site footer** ([what code injection is](https://brightthemes.com/blog/ghost-code-injection)). For example, for GitHub:

```html
<script>
  socials.github = 'https://github.com/brightthemes'
</script>
```

The other names are `discord`, `pinterest`, `reddit`, `telegram`, `tiktok` and `whatsapp`.

> [!NOTE]
> For a platform that isn't listed, add its icon (see the Icons section), then add a block for it in `partials/social-links.hbs`, like the ones already there.

## Social sharing

The share buttons on posts: which networks they include and how to turn them off.

Each post has share buttons for:

- X
- Bluesky
- Facebook
- LinkedIn
- Email
- Copy link

To add another option, edit `partials/social-share.hbs`.

## Theme development

Set up the theme for local development: install the dependencies, run the build, and package the zip.

For changes beyond the design settings and code injection, you can work on the theme's source. The theme is built with [Tailwind CSS](https://tailwindcss.com/) and [Alpine.js](https://alpinejs.dev/), and its assets are compiled and minified with [Vite](https://vitejs.dev/).

You need [Node.js](https://nodejs.org/) and a [local install of Ghost](https://ghost.org/docs/install/local/). Put the theme's folder in Ghost's `content/themes/` directory, open it in your terminal and run `npm install` to install its dependencies. Then:

1. `npm run dev` (`vite build --watch & vite`) — builds the assets and rebuilds them whenever you change a file. The Vite configuration is in `vite.config.js`.
2. `npm run build` (`vite build`) — builds the assets once.
3. `npm run test` (`gscan . --verbose`) — checks the theme with [GScan](https://gscan.ghost.org/), Ghost's own theme checker.
4. `npm run zip` — makes a zip of the theme in the `dist` directory, ready to upload.

## Code snippets

Frequently asked questions and useful snippets you can use to make some quick changes to your site.

### How to change the logo size?

In **Settings › Advanced › Code injection › Site header** ([what code injection is](https://brightthemes.com/blog/ghost-code-injection)), add the following and change the values as needed:
```html
<style>
:root {
  --logo-h-mobile: 28px;
  --logo-w-mobile: auto;
  --logo-h-desktop: 32px;
  --logo-w-desktop: auto;
}
</style>
```

Something missing or unclear? Ask support: https://brightthemes.com/support
