Skip to content
Bright Themes

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

Install the theme

Upload the theme to Ghost and activate it, step by step, in Settings › Site › Theme (set your Ghost site URL to open it in your Ghost Admin).

To upload the theme:

  1. Log in to Ghost Admin at yoursite.com/ghost/.
  2. Choose Upload theme and select joben.zip, the file you downloaded. 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.
  3. 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.

Settings › Site › Theme › Change theme

Upload routes.yaml

Upload the theme's routes.yaml in Settings › Advanced › Labs (set your Ghost site URL to open it in your Ghost Admin), so collections and pages work as the theme expects.

Caution

The theme’s routes.yaml file is inside the theme’s zip, and shown below. When it has more than Ghost’s default routes (the / collection and the tag and author pages), the theme needs it: upload it, or the theme’s extra collections and pages won’t work. Uploading it replaces the site’s routes, so add any routes of your own to it first.

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

  1. Log in to Ghost Admin at yoursite.com/ghost/.
  2. 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.

Settings › Advanced › Labs › Beta features
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, which you change in Ghost Admin without code. Open Settings › Site › Design & branding (set your Ghost site URL to open it in your Ghost Admin) and choose Customize: the theme’s settings are on the Theme tab, in up to 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 (set your Ghost site URL to open it in your Ghost Admin).

Settings › Site › Design & branding › Theme

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

SettingGroupWhat it does
Secondary colorSite wideThe mint line under section titles and post links
Color schemeSite wideSystem follows the visitor's device; visitors can change it in the footer
UI font familySite wideThe font of the interface: navigation, buttons, labels and post info
Enable sticky headerSite wideKeep the header at the top of the window as the page scrolls
Use portal linksSite wideOpen sign in and sign up in Ghost's Portal popup instead of the theme's pages
Show comment countSite wideThe number of comments in the post info, when comments are on
Default post templatePostThe layout of posts on Ghost's default template; a post's own Template setting picks another
Enable image lightboxPostOpen post images in a larger view when selected

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. More in keeping your design settings.

Homepage

The homepage is defined in index.hbs. It has these parts, in this order, besides the header and the footer:

  • the lead story, with two stories beside it: your featured posts
  • Latest: the other posts, newest first, with the side column beside them
  • the side column: About, the topics and a subscribe box

Page 2 and later show the list and the side column only. The side column reads two pages by their slug, and each part shows only when its page is published. Leave these pages out of your navigation: their own URL still works, but they’re there for the side column.

Page slugPartWhat to put in it
home-aboutAbout, in the side columnThe title is the heading, the excerpt (or, without one, the first lines of the content) the text, followed by a Read more → link to the page itself
home-topicsTopics, in the side columnThe page’s tags are the topics, in the page’s order. The page’s content isn’t shown

To create one, open Pages in Ghost Admin, choose New page, set the Page URL in the page settings to the slug above and choose Publish.

Lead story

The homepage opens with the three latest featured posts: the first is the lead story, with its image, the post info, its title and excerpt, and the next two sit beside it, with their image, post info and title. To feature a post, open it in the editor and turn on Feature this post in the post settings.

  • With one or two featured posts, the latest posts that aren’t featured fill the spots beside the lead.
  • Without featured posts, the three latest posts show there.

On phones the two stories beside the lead are rows under it, with a small image on the right.

Latest

Latest lists the other posts, newest first, posts_per_page (12) to a page (see Ghost config), with page links at the bottom: ← Newer posts, “Page 2 of 7” and Older posts →. It leaves out the three stories above it; a fourth featured post stays in the list. Each row shows the title, the excerpt (from tablets up), the post info and the feature image on the right.

Side column

The side column sits beside Latest on large screens and under it on smaller ones. It’s on the tag and author pages, in the Post With Sidebar template and on every post when Default post template is sidebar too (see Templates). It has:

  • About: the page with the slug home-about. Its title is the heading and its excerpt the text, with Read more → linking to the page, so the page itself can be your longer About page.
  • Topics: the tags of the page with the slug home-topics, in the page’s order. Each row shows the tag’s color as a dot, its name and its post count; on a tag page, that tag’s row is marked. To add the tags, open the page’s settings and add them under Tags. To set a tag’s color, open Tags in Ghost Admin, open the tag and set its Color.
  • Get new posts by email: a subscribe box on a dark panel, for visitors who aren’t members, when anyone can sign up.

Without the home-about page there’s no About; without the home-topics page, or without tags on it, there are no topics.

Note

Before 3.0, the homepage opened with a hero from the Hero headline, Hero description, Hero form and Hero stats settings, and the posts were a grid or a list (Post feed style, Post feed grid columns). 3.0 opens with the lead story and has one list of posts (see Upgrade to v3).

The header shows the publication logo (or the site title), the navigation from Settings › Site › Navigation (set your Ghost site URL to open it in your Ghost Admin), Ghost’s search, Sign in and Subscribe for visitors (Account for members) and the menu button. On large screens the navigation shows in the header when it fits; a longer one stays in the menu. Items whose label starts with - become dropdown menus. The current page’s item sits on a light tint of the accent color.

The menu opens from the right. It holds the navigation, the secondary navigation and the member links: Subscribe and Sign in for visitors, Account and Sign out for members.

In Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin):

  • Enable sticky header — keeps the header at the top of the window as the page scrolls (off by default)
  • Use portal links — the sign-in, sign-up, account and upgrade links open Ghost’s Portal instead of the theme’s pages (off by default)

The search is Ghost’s own, from the search button: it works with no setup. For other ways to add search to a Ghost theme, see search options for Ghost themes.

The logo’s height is set by the theme; to change it, see Code snippets.

The footer shows the site title and description, the social links, the secondary navigation from Settings › Site › Navigation (set your Ghost site URL to open it in your Ghost Admin), the copyright line and, on the right, the color scheme menu (System, Light and Dark; see Color customization).

Templates

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

A post opens with its title area, centered: the post info, the title, the excerpt and the authors with their photos. The feature image follows, wider than the text. The post info is one line, the same on the homepage, the lists and the post: the primary tag, the access (Free, or Members and Paid with a lock), the date and the reading time.

After the content, a post shows its tags and a Share button, which opens Ghost’s share window (the post’s link to copy and the networks to share it on), the author’s card with their bio, links to the previous and next posts, and the comments. Read next follows: three posts with the same primary tag, or the latest three. A bar at the top of the window shows how far the reader is through a post.

A page shows its title, excerpt and feature image the same way, unless you turn off Show title and feature image in the page settings: then it shows only its content.

Post templates

Joben includes 2 post templates in addition to the default. You choose one in Post settings › Template; they work for pages too:

  • Post With Sidebar (custom-post-with-sidebar.hbs) — the side column beside the post content on large screens (About, the topics and the subscribe box), under it on smaller screens
  • Post With Table Of Contents (custom-post-with-table-of-contents.hbs) — a table of contents in a column on the left of the post content, on large screens

Note

Before 3.0 these templates were named custom-with-…. A post that used one shows the default layout until you pick its template again (see Upgrade to v3).

The page templates (Archive, Signup, Membership…) are described under Pages.

Post settings

In Settings › Site › Design & branding › Theme › Post (set your Ghost site URL to open it in your Ghost Admin):

  • Default post template — the layout of posts that use Ghost’s default template: default, sidebar or table of contents, the same as the templates above. A post’s own Template still picks another.
  • Enable image lightbox — images in posts and pages open larger when selected (on by default). An image with a link opens its link instead.

In Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin):

  • Show comment count — adds the number of comments to the post info, when comments are on (off by default)

To hide the comments on a post, add the internal tag #nocomment to it.

Members-only and paid posts

On a members-only or paid post, readers without access see the free part of the post, then a box that says who the post is for, with Subscribe now and Sign in for visitors, or Upgrade your account for members. The free part ends where you put a Public preview divider in the editor.

Tag and author pages

Tag pages show the tag’s name, description and post count, author pages the author’s photo, name, bio and post count. Their posts follow as a list, with page links at the bottom and the side column beside them.

Pages

The theme’s own pages are pages you create in Ghost Admin, each with one of the theme’s page templates. Nothing goes in routes.yaml for them: the theme’s routes.yaml is Ghost’s default. You get the page’s title, excerpt, feature image and SEO fields, and you can add it to your navigation.

To create one:

  1. Log in to Ghost Admin at yoursite.com/ghost/.
  2. Open Pages and choose New page.
  3. Enter the title. In the page settings, set the Page URL to the slug below and pick the Template.
  4. Choose Publish.
Page URLTemplateWhat it shows
signupTemplate Signup (custom-template-signup.hbs)The sign-up form
signinTemplate Signin (custom-template-signin.hbs)The sign-in form
accountTemplate Account (custom-template-account.hbs)The signed-in member’s details, plan, newsletters and emails
membershipTemplate Membership (custom-template-membership.hbs)Your tiers, with their prices and benefits
archiveTemplate Archive (custom-template-archive.hbs)Every post by month, newest first
tagsTemplate Tags (custom-template-tags.hbs)Your public tags with posts, by post count
authorsTemplate Authors (custom-template-authors.hbs)Everyone who has published a post
recommendationsTemplate Recommendations (custom-template-recommendations.hbs)The sites you recommend

The theme links to /signup/, /signin/, /account/ and /membership/, so create those four when your site has members. To use Ghost’s Portal instead of the members pages, turn on Use portal links (see Header). The theme doesn’t link to the archive, tags, authors and recommendations pages: add the ones you create to your navigation.

Sign-up and sign-in pages

The sign-up and sign-in pages show a card with the page’s title and excerpt and the form, which asks for the email address only. The page’s own content shows under the card. When sign-up is for paid members only, the sign-up page links to the membership page instead of showing the form, and a signed-in member is pointed to their account.

Account

The account page lets a signed-in member change their name, the expertise shown beside it on comments and their email address, see their plan, choose their newsletters (one at a time or all at once), turn comment notifications on and off, and fill in the custom fields you set up in Settings › Membership (set your Ghost site URL to open it in your Ghost Admin) (Ghost 6.78 or newer). When Ghost has stopped emailing a member whose emails bounced, the page offers to turn their emails back on.

Membership

The membership page shows your tiers with a monthly and yearly choice, then the page’s own content, so you can add text below them in the editor. The tier names, prices and benefits come from Settings › Membership › Tiers (set your Ghost site URL to open it in your Ghost Admin). A signed-in member sees their current plan marked.

Archive

The archive lists every post, newest first, grouped by month, with each post’s date, title and access (Free, Members or Paid). The page’s title heads it, and its excerpt and the post count follow.

It shows posts_per_page (12) posts at a time; the later pages are ?page=2, ?page=3 and so on, with ← Newer posts and Older posts → links. Visitors with JavaScript turned off see the first page.

To list only some posts, add tags to the archive page (internal tags too): it then lists the posts with those tags. You can make more than one archive, each a page with Template Archive and its own tags, at any URL.

Tags and authors

The tags page lists your public tags with posts, by post count, each with its color as a dot. The authors page shows everyone who has published a post: photo, name, bio and post count. Both show the page’s own content below the list.

Recommendations

The recommendations page shows the sites you recommend in Settings › Growth › Recommendations (set your Ghost site URL to open it in your Ghost Admin), when recommendations are turned on there.

Note

Before 3.0, the sign-up, sign-in, account and recommendations pages were routes in routes.yaml, the archive, tags, authors and membership pages used templates picked by their slug (page-archive.hbs and so on), and the theme had a contact page with a Formspree form. 3.0 makes them all page templates and drops the contact page (see Upgrade to v3).

Color customization

You can change the accent color in Settings › Site › Design & branding › Brand (set your Ghost site URL to open it in your Ghost Admin): it colors the buttons, the primary tag in the post info and the light backgrounds of the current navigation item and the image panels. The theme picks black or white text for it, whichever reads better.

In Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin):

  • Secondary color — the mint line under the section titles (Latest, Read next, About and Topics), the title of the box on members-only posts and the links in posts (default #49f5b3). It’s a line, never text, so a light color works.
  • Color scheme — system (default) follows the reader’s device setting, light or dark. Readers can switch with the menu in the footer (System, Light or Dark); their choice is saved in their browser.

Change the colors

The theme’s colors are CSS custom properties, so you can override them in Settings › Advanced › Code injection › Site header (set your Ghost site URL to open it in your Ghost Admin) (what code injection is). Add the following and adjust the values.

For the light color scheme:

HTML
<style>
  :root {
    --color-typ: #1A1A1A;          /* text */
    --color-typ-tone: #5C5C5C;     /* muted text */
    --color-typ-content: #333333;  /* the text of posts */
    --color-bgr: #FFFFFF;          /* background */
    --color-bgr-tone: #F6F5FB;     /* muted background */
    --color-brd: #E7E6EE;          /* borders */
  }
</style>

For the dark color scheme, use the same names under a second selector. It applies whenever the site shows dark, whether the reader chose it or their device did:

HTML
<style>
  [data-color-scheme="dark"]:root {
    --color-typ: #EDEDF2;
    --color-typ-tone: #A8A8B8;
    --color-typ-content: #D8D8E0;
    --color-bgr: #121218;
    --color-bgr-tone: #1C1C24;
    --color-brd: #2C2C38;
  }
</style>

The values above are the theme’s defaults. The reversed colors (--color-typ-reverse and --color-bgr-reverse) follow the background and text colors by themselves, and the light backgrounds behind images, on hover and on the current item (--color-panel, --color-hover and --color-nav-current) are mixes of the accent color with the background.

The subscribe box in the side column stays dark in both color schemes. Its colors are --color-card (the background: #1A1A1A, #1C1C24 in the dark color scheme), --color-card-text and --color-card-tone (its text and muted text), and --color-card-field and --color-card-field-text (the email field).

A tag’s own color, set in Tags in Ghost Admin, shows as a dot beside it in the topics and on the tags page.

Some tools for choosing colors: Fuel HSL color picker (opens in a new tab), Coolors contrast checker (opens in a new tab).

Note

Before 3.0, the colors were --color-text, --color-bg and so on, with --global-… properties for the width and radius, and the setting was Default color scheme. 3.0 renames them: the table is under Upgrade to v3.

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.

By default the theme uses Manrope (opens in a new tab) for headings, body text and the interface alike, loaded from Bunny Fonts (opens in a new tab). To use other fonts, set them in Ghost’s own typography settings, in Settings › Site › Design & branding › Brand › Typography (set your Ghost site URL to open it in your Ghost Admin): they take over when set.

UI font family in Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin) sets the font of the interface (the navigation, buttons, labels and post info):

  • body (default) — the body font
  • heading — the heading font
  • system — the reader’s system font, with nothing to download
  • serif — the reader’s system serif font
  • mono — the reader’s system monospace font

To serve the font from your own server, see self-hosting Google Fonts.

Table of contents

The table of contents is built from the post’s headings with the Tocbot (opens in a new tab) library, included in the theme. It marks the heading being read, and readers open and close it with its button. You can add it to a post or page in two ways:

  1. With the Post With Table Of Contents template (custom-post-with-table-of-contents.hbs), or for every post with Default post template set to table of contents: the table of contents in a column on the left of the post content, the two centered together. It shows on large screens, and stays in view as the reader scrolls.
  2. With the internal tag #toc, on a post, or a page with Show title and feature image on, with the default layout: a table of contents that floats at the top right of the page. It’s open from tablets up and closed on phones, with its button to open it.

With Enable sticky header on, the table of contents stays below the header. To change its layout or the Tocbot configuration, edit partials/toc.hbs.

Add dropdown menus to the theme's navigation from Ghost Admin, by starting an item's label with a minus sign.

The theme can show dropdown menus in the header. To make an item a submenu item, start its label with a minus sign (-) in Settings › Site › Navigation (set your Ghost site URL to open it in your Ghost Admin) (choose Customize to edit the menu).

An item that starts with - goes into the dropdown of the item above it. For example, these items make a Members menu with three entries. The full walkthrough is in How to add dropdown menus in Ghost.

Settings › Site › Navigation

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.

Posts per page

posts_per_page is the number of posts a list shows before it’s paginated, such as the tag and author pages.

To change it, edit the value in package.json. The theme comes with:

JSON
"config": {
  "posts_per_page": 12
}

Image sizes

Ghost makes copies of every uploaded image at the sizes the theme asks for (opens in a new tab), so pages can load the right size. They’re set under image_sizes in package.json; edit them before you upload the theme. The theme comes with:

JSON
"image_sizes": {
  "w100": {
    "width": 100
  },
  "w320": {
    "width": 320
  },
  "w640": {
    "width": 640
  },
  "w960": {
    "width": 960
  },
  "w1280": {
    "width": 1280
  },
  "w2000": {
    "width": 2000
  }
}

Comments

Turn on Ghost's native comments for members, and choose who can comment.

The theme uses Ghost’s native comments. Turn them on in Settings › Membership › Access (set your Ghost site URL to open it in your Ghost Admin), 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

If the theme has a comments setting of its own (listed in its settings above), set it to Ghost’s native comments too.

Icons

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

The theme’s icons are from Tabler Icons (opens in a new tab). 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 (opens in a new tab) 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, optionally, Tailwind classes for its size in icon_class, such as size-6):

Handlebars
{{>icon name="camera"}}

The CSS only has the Tailwind classes the theme’s files already use, so after adding a class the theme doesn’t use yet, rebuild the CSS (see Theme development).

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 (set your Ghost site URL to open it in your Ghost Admin).

It can also link these platforms, which Ghost has no field for:

  • Discord
  • GitHub
  • Pinterest
  • Reddit
  • Telegram
  • WhatsApp

To add one, put its link in Settings › Advanced › Code injection › Site footer (set your Ghost site URL to open it in your Ghost Admin) (what code injection is). For example, for GitHub:

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

The other names are discord, pinterest, reddit, telegram 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.

Syntax highlighting

How the theme loads Prism.js only on posts tagged #syntax-highlight, and how to load it everywhere or change languages.

The theme highlights code with Prism (opens in a new tab), the library our guide to syntax highlighting in Ghost uses too. To turn it on for a post or page, add the internal tag #syntax-highlight to it. Posts and pages without the tag don’t load Prism at all, so they stay lighter.

To highlight code on every post and page without the tag, edit partials/syntax-highlight.hbs and remove the condition that checks for it. The same partial loads Prism (its core, with HTML, CSS and JavaScript) and its color theme from a CDN, so that’s also where you change the version or the colors, or add the script of another language or a plugin.

Translations

Translate the theme's own text into your language with its locale files, and add a language that's missing.

By default, everything is in English (en.json). The theme also comes with translations in:

  • German (de.json)
  • Spanish (es.json)
  • French (fr.json)
  • Italian (it.json)
  • Portuguese (pt.json)
  • Turkish (tr.json)

To change a translation, edit its file in the theme’s locales directory:

Text
|__ locales
|   |__ de.json
|   |__ en.json
|   |__ es.json
|   |__ fr.json

For a language the theme doesn’t have, add a file named with its language code (for example pl.json): copy en.json, rename it, and translate the values. The full walkthrough is in How to translate your theme in Ghost.

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 (opens in a new tab) and Alpine.js (opens in a new tab), and its assets are compiled and minified with Vite (opens in a new tab).

You need Node.js (opens in a new tab) and a local install of Ghost. 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 — runs the Vite dev server at localhost:2468, in front of your local Ghost on port 2368: it rebuilds the assets whenever you change a file and reloads the browser. The Vite configuration is in vite.config.js.
  2. npm run build — builds the assets once, into assets/built/.
  3. npm run test — checks the theme with GScan (opens in a new tab), Ghost’s own theme checker.
  4. npm run zip — makes a zip of the theme in the dist directory, ready to upload.

Ghost’s own Edit code changes the theme’s files in Ghost Admin, but it doesn’t run this build: use it for templates, and make style and script changes here.

Code snippets

Short snippets for common changes. Add them in Settings › Advanced › Code injection › Site header (set your Ghost site URL to open it in your Ghost Admin) (what code injection is). They use the theme’s CSS custom properties and data-* attributes, which stay the same across updates.

The logo is 30px tall on phones and 36px from tablets up. Change the heights to your preference:

HTML
<style>
  :root {
    --logo-h-mobile: 36px;
    --logo-h-desktop: 44px;
  }
</style>

--logo-w-mobile and --logo-w-desktop set the width instead (auto by default), for a wide logo. The logo is never wider than 200px, or 240px on screens 640px wide and up.

How to change the site width or the corners?

HTML
<style>
  :root {
    --container-site: 1200px;    /* the site's width (1080px) */
    --container-content: 720px;  /* the width of post text (640px) */
    --container-wide: 960px;     /* wide images, the feature image and the archive (880px) */
    --radius-theme: 6px;         /* the corners of cards and panels (14px) */
    --radius-img: 6px;           /* the corners of images (14px) */
    --radius-btn: 999px;         /* the corners of buttons and fields (8px) */
  }
</style>
HTML
<script>
  window.THEME_CONFIG.EXTERNAL_LINKS_IN_NEW_TAB = true;
</script>

Links to your own site keep opening in the same tab.

HTML
<style>[data-footer] label:has([data-color-scheme-select]) { display: none !important; }</style>

Set Color scheme to light or dark too, so every reader gets the same one.

How to hide the reading progress bar?

HTML
<style>[data-progress-bar] { display: none !important; }</style>

How to hide a part of the side column?

Unpublish its page to hide About or the topics (see Homepage), or hide a part by its name: data-about, data-topics or data-subscribe-card (the subscribe box):

HTML
<style>[data-subscribe-card] { display: none !important; }</style>

Upgrade to v3

What changes when you update a Joben 2.x site to 3.0, and the steps to move it over.

We rebuilt Joben for 3.0 on a new codebase, with a refreshed design: a narrower frame with a 640px reading column, a homepage that opens with your featured posts, one list of posts with a side column, page templates for the members pages and the archive, and better keyboard and screen reader access. Almost every file has changed, so if you’ve edited the theme’s files, start from the new version and bring your changes over. These things change for a site that runs 2.x:

  • The hero is gone. The homepage opens with the lead story and the two beside it: your three latest featured posts, or the three latest posts (see Homepage). Hero headline, Hero description, Hero form and Hero stats are gone.
  • One list of posts. Post feed style, Post feed grid columns and Post card tag accent bg are gone: the posts are a list, with the side column beside it.
  • The sidebar is the side column. Instead of the site info, featured posts, most used tags and latest posts, it shows About from the home-about page, the topics from the tags of the home-topics page and a subscribe box. It’s on the homepage, the tag and author pages, the Post With Sidebar template, and every post when Default post template is sidebar.
  • The theme’s own pages are pages with a template. Sign up, sign in, account and recommendations were routes in routes.yaml; the archive, tags, authors and membership pages used templates picked by their slug (page-archive.hbs, page-tags.hbs, page-authors.hbs and page-membership.hbs). In 3.0 each is a page with a Template (see Pages), and the theme’s routes.yaml is Ghost’s default. The archive shows 12 posts at a time, with later pages at ?page=2 and so on.
  • The contact page is gone, with its Formspree form (page-contact.hbs). A page with an HTML or embed card for your form (Formspree, Tally…) does the same.
  • The post templates are renamed from custom-with-… to custom-post-with-…, shown in Ghost as Post With Sidebar and Post With Table Of Contents (see Templates). A post that used one shows the default layout until you pick its template again. The new Default post template setting lays out every post that uses the default template.
  • Default color scheme is now Color scheme, with lowercase values (system, light, dark). A site that set it before shows system until you pick it again. The color scheme button in the header is now a menu in the footer: System, Light or Dark.
  • Secondary color stays, as the mint line under section titles and links in posts (see Color customization).
  • New settings: UI font family (see Typography), Use portal links (see Header) and Default post template.
  • Open external links in new tab is gone. One line of code injection does the same (see Code snippets).
  • Enable scroll to top is gone, with the button.
  • The comments are Ghost’s own. The Disqus and Cove options in the theme’s config file are gone. Show comment count stays.
  • The share buttons are gone. A Share button after the post opens Ghost’s share window, with the post’s link and the networks to share it on.
  • The app install (PWA) is gone, with its service worker and manifest.
  • Code injection names changed. The CSS custom properties have new names (below), and class names are gone: style the data-* attributes instead, such as [data-header], [data-rail] (the side column) or [data-post-card]. The config object is now window.THEME_CONFIG. The icon sprite (assets/icons/feather-sprite.svg) is gone: each icon is a file in partials/icons/.
Before 3.0In 3.0
--color-primarythe accent color in Settings › Site › Design & branding › Brand (set your Ghost site URL to open it in your Ghost Admin)
--color-secondarythe Secondary color setting (still --color-secondary)
--color-text--color-typ
--color-text-acc-1 and the other --color-text-acc-…--color-typ-tone
--color-text-reverse--color-typ-reverse
--color-bg--color-bgr
--color-bg-acc-1 and the other --color-bg-acc-…--color-bgr-tone
--color-bg-reverse--color-bgr-reverse
--color-border--color-brd
--global-max-width--container-site
--global-radius--radius-theme, --radius-img and --radius-btn

The dark color scheme’s values go under [data-color-scheme="dark"]:root (see Color customization). The other --global-… properties (--global-radius-round, --global-header-position, --global-hyphens) and the named colors (--color-dark, --color-grey, --color-purple and so on) are gone, with nothing in their place.

Move a site over

After you upload Joben 3.0 in Settings › Site › Theme › Change theme (set your Ghost site URL to open it in your Ghost Admin):

  1. Upload the new routes.yaml from the theme’s zip in Settings › Advanced › Labs (set your Ghost site URL to open it in your Ghost Admin) (see Upload routes.yaml). It takes out the sign-up, sign-in, account and recommendations routes, and any routes to the 2.x demo’s homepage templates (home2, home3, home4), which are gone.
  2. In Pages, give the theme’s pages the matching Template in their page settings, or create them: signup (Template Signup), signin (Template Signin), account (Template Account), membership (Template Membership), and if your site uses them, archive (Template Archive), tags (Template Tags), authors (Template Authors) and recommendations (Template Recommendations).
  3. If you have a contact page, put your form in it with an HTML or embed card.
  4. Feature the posts you want at the top of the homepage: open each one and turn on Feature this post.
  5. Create the side column’s pages, if you want them: home-about (its excerpt is the About text) and home-topics (the topics as its tags). Leave them out of your navigation.
  6. Pick the template again in Post settings › Template on the posts that used one of the post templates, or set Default post template.
  7. If you changed Default color scheme, pick Color scheme again. If you had Open external links in new tab on, add its code injection line. Update any code injection that uses the old names in the table above.

Something missing or unclear? Ask support.

Can’t find what you need?

Ask the person who builds the themes. Tell us what you are trying to do and we will point you the right way.