How to install, set up and customize the Rinne Ghost theme, from its design settings to theme development.
Install the theme
To upload the theme:
- Log in to Ghost Admin at
yoursite.com/ghost/. - Open Settings › Site › Theme (set your Ghost site URL to open it in your Ghost Admin) and choose Change theme.
- Choose Upload theme and select
rinne.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. - 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.
Upload routes.yaml
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:
- Log in to Ghost Admin at
yoursite.com/ghost/. - Open Settings › Advanced › Labs (set your Ghost site URL to open it in your Ghost Admin), choose Open, then the Beta features tab.
- In the Routes row, open the menu next to Edit, choose Upload file and select the
routes.yamlfrom 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.
## routes.yaml
## data: page.<slug> takes a route's title, description and image from the page with that slug. Commented out, it waits until that page exists.
routes:
collections:
# Homepage: every post without the #blog internal tag
/:
permalink: /{slug}/
template: index
filter: tag:-hash-blog
# Blog: the posts with the #blog internal tag
/blog/:
permalink: /{slug}/
template: blog
# data: page.blog
filter: tag:hash-blog
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/Custom settings
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).
The theme’s settings, defined in its package.json:
| Setting | Group | What it does |
|---|---|---|
| Color scheme | Site wide | |
| UI font family | Site wide | The font of buttons, navigation, labels and post info |
| Header position | Site wide | |
| Use portal links | Site wide | |
| CTA headline | Site wide | |
| CTA description | Site wide | |
| CTA button text | Site wide | |
| CTA button link | Site wide | |
| Tag template feed style | Site wide | |
| Hero image style | Homepage | |
| Hero image filter | Homepage | |
| Resources filter position | Homepage | |
| Resources feed layout | Homepage | |
| Resources card image | Homepage | |
| Image lightbox | Post |
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 layout is defined in the index.hbs template and has the following sections (besides the header and footer):
- hero
- resources
- blog
- CTA section
Hero
By default the hero title and description are the site’s title and description (from Settings › General settings › Title & description (set your Ghost site URL to open it in your Ghost Admin)), and the image is the publication cover (from Settings › Site › Design & branding › Brand › Publication cover (set your Ghost site URL to open it in your Ghost Admin)).
The hero’s text and button come from four settings in Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin); the subscribe box in the post sidebar uses the first two:
-
CTA headline — the title. You can highlight parts of it with the
<span>tag, which shows the text in your brand color, for example:HTMLAll the <span>best resources</span> in one place -
CTA description — the description
-
CTA button text — the button text (default
Subscribe) -
CTA button link — the button link. The default,
subscribe-form, shows a subscribe form instead of a button.
Hero image style in Settings › Site › Design & branding › Theme › Homepage (set your Ghost site URL to open it in your Ghost Admin) sets the style of the hero section:
background-full(opens in a new tab) (default) — the hero image as a full-width background imagebackground— the hero image as a background imageside— the hero image on the sidebottom— the hero image below the title and buttonhidden— no hero image
You can set CSS filters for the hero image with Hero image filter, in the same group. This is useful when the image is in the background and you want more contrast for the title and description. All valid CSS filters (opens in a new tab) can be used and you can combine multiple filters. Here are some examples:
-
contrast and brightness filter:
CSSbrightness(0.75) contrast(1.1) -
grayscale filter:
CSSgrayscale(100%) -
sepia filter:
CSSsepia(100%)
Resources
New posts appear in the resources section (unless they have the #blog tag).
The resources filters change the feed to show the cards of the selected category. Each filter’s link (such as #design) opens the homepage with that category picked, so you can share a filtered view.
The homepage loads every page of resources right away, so the filters cover all of them. To show a Load more button instead, see the code snippets.
The filter’s categories are the tags of a page you create for them:
- In Ghost Admin, open Pages and choose New page.
- Set the Page URL to
home-filtersin the page settings. - Add the tags to show as categories, in the order you want them. The page’s content isn’t shown.
- Choose Publish. Leave the page out of your navigation.
The same categories show in the footer and on the resources page. Without the page, or without tags on it, there are no categories.
Note
The filter image and color are taken from the tag, set in Tags in Ghost Admin:

To customize this section, change the following settings in Settings › Site › Design & branding › Theme › Homepage (set your Ghost site URL to open it in your Ghost Admin):
Resources filter position — the position of the filters:
sidebar(default) — the filters as a sidebar on desktoptop— the filters as a scrollable bar above the resource cardshidden— no filters
Resources feed layout — the feed layout:
list— the cards as list itemsgrid(default) — the cards as grid items
Resources card image — the card image’s aspect ratio and size:
small(default) — 48px tall, at the image’s own widthmedium— 72px talllarge— 96px tallwide 4/3—4/3aspect ratiowide 16/9—16/9aspect ratiohidden— no card image
Note
Featured resources (posts) show first.
Note
For a resource card to show the external link, set the post’s canonical URL in the post settings, under Meta data › Canonical URL.
Blog
The blog section shows on the homepage once at least one post has the internal tag #blog.
The post cards show:
- the feature image with a
16/9aspect ratio - one tag assigned to the post
- the visibility (for members and tiers)
- title & excerpt
- author, date & reading time
The section shows up to 3 posts.
You can change this section in partials/blog-section.hbs, and the post cards in partials/post-card.hbs.
CTA section
The CTA section above the footer shows the content of a page:
- In Pages, create a page and set its Page URL to
section-ctain the page settings. - Add a Call to action card, or a Signup card, and design it in the editor: layout, image, background color, text and button. Start its text with bold words for the headline, then a line break (Shift+Enter) and the rest: the bold words show larger, in the heading font. In the minimal layout, the image shows on the right.
- Set who sees each card with its visibility: visitors, free members or paid members. For example, one card that asks visitors to subscribe and another that thanks members.
- Publish it. Leave it out of your navigation.
Without the page, there’s no CTA section.
Header
The header shows the publication logo and the primary navigation, with dropdown menus.
Two settings in Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin) change it:
- Header position —
normal(default),stickyorfloating - Use portal links — on by default: the sign-in, sign-up and account links open Ghost’s Portal. Turn it off to use the theme’s own sign-in, sign-up and account pages instead (create them first).
Templates
The default post layout is defined by the post.hbs template and the default page
layout by the page.hbs template.
The default post layout is made for resources: it shows the feature image with a 1/1 aspect ratio
on the left, next to the title, excerpt and author info.
Post templates
Rinne includes 5 post templates in addition to the default. You choose one in Post settings › Template:
- Post With Background Image (
custom-post-with-background-image.hbs) — the feature image in the background - Post With Full Width Background Image (
custom-post-with-full-width-background-image.hbs) — the feature image as a full-width background - Post With Sidebar (
custom-post-with-sidebar.hbs) — a sidebar beside the post content (on desktop); the sidebar ispartials/sidebar.hbs - Post With Table Of Contents And Sidebar (
custom-post-with-table-of-contents-and-sidebar.hbs) — a table of contents on the left and the sidebar on the right of the post content - Post With Wide Image (
custom-post-with-wide-image.hbs) — a wide feature image
Note
Before 2.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 v2).
Image lightbox in Settings › Site › Design & branding › Theme › Post (set your Ghost site URL to open it in your Ghost Admin) (on by default) opens the post’s images in a lightbox.
After the content, a post shows its tags, a Share button, which opens Ghost’s share window (the post’s link to copy and the networks to share it on), and the author box.
Page templates
Two page templates make directory pages; you choose one in Page settings › Template:
- Template Directory (
custom-template-directory.hbs) — a directory page - Template Directory With Main Topic (
custom-template-directory-with-main-topic.hbs) — a directory page with a main topic
Note
Before 2.0 these templates were named custom-directory.hbs and custom-directory-with-main-topic.hbs. A page that used one shows the default page layout until you pick its template again (see Upgrade to v2).
The other page templates (Signup, Resources…) are described under Pages.
Tag pages
Tag template feed style in Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin) sets how tag pages list their posts: list (default) or resources.
Directory pages
The filters of a directory page sit where Resources filter position puts them (in Settings › Site › Design & branding › Theme › Homepage (set your Ghost site URL to open it in your Ghost Admin): sidebar, top or hidden), as on the homepage.
You can create as many directory pages as you need from Ghost Admin:
- In Ghost Admin, open Pages.
- Choose New page.
- In the page settings, under Template, select Template Directory.
- Add tags to the page: they are the filters and fetch the relevant posts. The page’s content shows below the resources.

Here’s how that page is rendered on the demo: rinne.brightthemes.com/directory/ (opens in a new tab)
Directory pages with main topic
A directory page can also have a main topic, with filters within that topic:
- In Ghost Admin, open Pages.
- Choose New page.
- In the page settings, under Template, select Template Directory With Main Topic.
- Add tags to the page: the primary tag sets the topic of the directory, and the other tags are the filters within that topic.
Here’s an example:

Here’s how that page is rendered on the demo: rinne.brightthemes.com/directory-topic/ (opens in a new tab)
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 only adds the blog. You get the page’s title, excerpt, feature image and SEO fields, and you can add it to your navigation.
To create one:
- Log in to Ghost Admin at
yoursite.com/ghost/. - Open Pages and choose New page.
- Enter the title. In the page settings, set the Page URL to the slug below and pick the Template.
- Choose Publish.
| Page URL | Template | What it shows |
|---|---|---|
signup | Template Signup (custom-template-signup.hbs) | The sign-up form, with the page’s feature image beside it |
signin | Template Signin (custom-template-signin.hbs) | The sign-in form, with the page’s feature image beside it |
account | Template Account (custom-template-account.hbs) | The signed-in member’s details and subscription |
membership | Template Membership (custom-template-membership.hbs) | Your tiers, with their prices and benefits |
resources | Template Resources (custom-template-resources.hbs) | A section per resource category, with its first five resources |
recommendations | Template Recommendations (custom-template-recommendations.hbs) | The sites you recommend |
The directory page templates work on pages with any URL.
Note
The theme links to /signup/, /signin/, /account/ and /membership/. With Use portal links on (in Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin), on by default), those links open Ghost’s Portal instead, and the members pages are optional.
Sign-up and sign-in pages
These pages have no header or footer: the site’s logo at the top left links home. Give the page a feature image to show it on the right half of the screen on large screens; without one, the form is centered.
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): edit the tiers there or add new ones.
Resources
The resources page shows a section for each resource category: the tags of the home-filters page (see Homepage), in that page’s order. Each section shows the tag’s image, name, resource count and description, and its first five resources, with a link to the tag page when it has more. The page’s own content shows below the sections.
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), and a button that opens the full list in Portal. It shows them when recommendations are turned on there.
Blog
The blog is a collection: every post with the internal tag #blog, listed with the blog.hbs template. Blog posts keep the /{slug}/ URL. It needs the theme’s routes.yaml (upload it):
/blog/:
permalink: /{slug}/
template: blog
# data: page.blog
filter: tag:hash-blogTo take the blog’s title, description and image from a page, create a page with the blog slug, remove the # in front of data and upload routes.yaml again.
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). The theme picks black or white text for it, whichever reads better.
Color scheme in Settings › Site › Design & branding › Theme › Site wide (set your Ghost site URL to open it in your Ghost Admin) sets the default color scheme:
system(default) —lightordark, following the reader’s device settinglightdark
Readers can switch with the select at the bottom of 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:
<style>
:root {
--color-typ: hsl(0 0% 15%); /* text */
--color-typ-tone: hsl(0 0% 42%); /* muted text */
--color-typ-content: hsl(0 0% 25%); /* the text of posts, excerpts and the footer */
--color-bgr: hsl(0 0% 100%); /* background */
--color-bgr-tone: hsl(0 0% 97%); /* muted background */
--color-brd: hsl(0 0% 92%); /* 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:
<style>
[data-color-scheme="dark"]:root {
--color-typ: hsl(0 0% 85%);
--color-typ-tone: hsl(0 0% 62%);
--color-typ-content: hsl(0 0% 75%);
--color-bgr: hsl(0 0% 12%);
--color-bgr-tone: hsl(0 0% 10%);
--color-brd: hsl(0 0% 20%);
}
</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.
The star ratings use --color-rating (hsl(51 100% 50%) by default), and a tag’s own color, set in Tags in Ghost Admin, colors its labels and filter categories.
For example, a purple palette for both color schemes:
<style>
:root {
--color-typ: hsl(275 50% 15%);
--color-typ-tone: hsl(275 20% 38%);
--color-typ-content: hsl(275 50% 20%);
--color-bgr: hsl(275 50% 98%);
--color-bgr-tone: hsl(275 50% 94%);
--color-brd: hsl(275 40% 90%);
}
[data-color-scheme="dark"]:root {
--color-typ: hsl(275 50% 90%);
--color-typ-tone: hsl(275 20% 70%);
--color-typ-content: hsl(275 40% 84%);
--color-bgr: hsl(275 50% 6%);
--color-bgr-tone: hsl(275 50% 10%);
--color-brd: hsl(275 40% 20%);
}
</style>Typography
Note
Ghost has custom fonts (opens in a new tab) of its own: you set the heading and body fonts in Settings › Site › Design & branding › Brand › Typography (set your Ghost site URL to open it in your Ghost Admin).
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 Figtree for headings and body. 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 fontheading— the heading fontsystem— the reader’s system font, with nothing to downloadserif— the reader’s system serif fontmono— the reader’s system monospace font
Note
Before 2.0, the Font family setting chose the font. It’s gone in 2.0: set the fonts in Ghost’s typography settings (see Upgrade to v2).
Resource ratings
Ratings can be assigned to resources using specific internal tags:
#1-star(slug:hash-1-star)#2-star(slug:hash-2-star)#3-star(slug:hash-3-star)#4-star(slug:hash-4-star)#5-star(slug:hash-5-star)
The ratings show on the resource cards and in the hero section of the resource post.
Read next
All post templates have a “Read next” section, populated by related posts based on the current post’s tags. The section fetches up to 5 posts that have at least one tag in common with the current post (including internal tags).
To change the read next section, edit the partials/related.hbs partial file.
For example, to look only at the primary tag instead of all tags, change the filter of the {{#get}} from this:
filter="tags:[{{post.tags}}]+id:-{{post.id}}"To this:
filter="tags:[{{post.primary_tag.slug}}]+id:-{{post.id}}"The section then fetches the posts that have the current post’s primary tag (its first public tag).
Table of contents
The table of contents is generated using the Tocbot (opens in a new tab) library, built into the theme. You can use the table of contents in two ways:
- Using the Post With Table Of Contents And Sidebar template (
custom-post-with-table-of-contents-and-sidebar.hbs). - Using the internal tag
#toc.
With the first option, you get a fixed table of contents on the left side next to the post content, and a sidebar on the right. You choose the template in Post settings › Template.
With the second option, you get a floating table of contents at the top right of the page, on posts and pages, with the default template or any post template.
To change the table of contents layout or the Tocbot configuration, edit the partials/toc.hbs file.
Dropdown menus
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.
Ghost config
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:
"config": {
"posts_per_page": 24
}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:
"image_sizes": {
"xxs": {
"width": 30
},
"xs": {
"width": 100
},
"s": {
"width": 300
},
"m": {
"width": 600
},
"l": {
"width": 1000
},
"xl": {
"width": 2000
}
}Comments
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 memberPaid-members only— signed-in members with an active paid subscriptionNobody— 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
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:
- Find the icon on Tabler Icons (opens in a new tab) and select it: this copies its SVG code.
- In
partials/icons/, create a file named after it, for examplecamera.hbs. - Paste the code into the file and save it.
For example, the camera icon copies as:
<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):
{{>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).
Social links
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
- Telegram
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:
<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
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
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) - Dutch (
nl.json) - Portuguese (
pt.json) - Turkish (
tr.json)
Note
A translation applies once you set the site’s language in Settings › General settings › Publication language (set your Ghost site URL to open it in your Ghost Admin).
To change a translation, edit its file in the theme’s locales directory:
|__ locales
| |__ de.json
| |__ en.json
| |__ es.json
| |__ fr.jsonFor 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
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:
npm run dev— runs the Vite dev server atlocalhost: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 invite.config.js.npm run build— builds the assets once, intoassets/built/.npm run test— checks the theme with GScan (opens in a new tab), Ghost’s own theme checker.npm run zip— makes a zip of the theme in thedistdirectory, 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 data-* attributes and settings, which stay the same across updates.
How to show a Load more button instead of loading every resource?
The homepage loads every page of resources right away, so the filters cover all of them. To load them a page at a time, with a Load more button, add:
<script>window.THEME_CONFIG.AUTOLOAD_RESOURCES = false</script>Choosing a category still loads the resources not on the page yet, so the filter covers every resource. To show more resources on the first page, raise the posts per page.
How to resize the header logo?
The header logo is 36px tall on every screen size. Adjust the height value to your preference:
<style>[data-brand] img { height: 42px; }</style>How to resize the footer logo?
The footer logo is 48px tall. Adjust the height value to your preference:
<style>[data-footer] img { height: 50px; }</style>How to remove the color scheme select?
<style>[data-color-scheme-select] { display: none !important; }</style>How to stop featured posts from showing first in the resources section?
<style>[data-resource-card][data-featured] { order: initial; }</style>How to remove the colors from the resource card tags?
<style>[data-resource-card] a[href*="/tag/"] { --color-accent: var(--color-typ) !important; }</style>How to hide the blog section on the homepage?
<style>[data-blog-section] { display: none !important; }</style>How to hide the tags at the end of the posts?
<style>[data-post-tags] { display: none !important; }</style>Upgrade to v2
We rebuilt Rinne from the ground up for 2.0: the same layouts and settings, on a new codebase, so almost every file has changed. 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 1.x:
- The post templates are renamed from
custom-with-…tocustom-post-with-…, shown in Ghost as Post With Background Image and so on (see Templates). A post that used one shows the default layout until you pick its template again. - The directory page templates are renamed from
custom-directory.hbsandcustom-directory-with-main-topic.hbstocustom-template-directory.hbsandcustom-template-directory-with-main-topic.hbs. A directory page shows the default page layout until you pick its template again. - The theme’s own pages are pages with a template instead of entries in
routes.yaml: sign up, sign in, account, membership, resources and recommendations (see Pages). The theme’sroutes.yamlnow holds only the homepage and the blog. - The resource categories come from a page. The Resources filter slugs setting is gone: the categories of the homepage filter, the footer and the resources page are the tags of a page with the slug
home-filters, in that page’s order (see Homepage). - The CTA section comes from a page. The section above the footer shows the content of a page with the slug
section-cta, such as a Call to action card; the CTA settings now set only the hero and the subscribe box in the post sidebar (see Homepage). - The homepage loads every resource. Before 2.0 it loaded one page at a time unless you turned on autoload in code injection; now autoload is on by default (see Code snippets to turn it off).
- The Font family setting is gone. Ghost’s own typography settings take its place, with the new UI font family setting (see Typography). A site that picked another font there shows Figtree until you set Ghost’s typography.
- Code injection names changed.
themeGlobalis nowwindow.THEME_CONFIG, and the CSS custom properties have new names (below). Class names such as.resource-cardor.header__brandare gone: style thedata-*attributes instead, such as[data-resource-card]or[data-brand].
| Before 2.0 | In 2.0 |
|---|---|
themeGlobal.imageLightbox | window.THEME_CONFIG.ENABLE_IMAGE_ZOOM (the Image lightbox setting) |
themeGlobal.autoloadResources | window.THEME_CONFIG.AUTOLOAD_RESOURCES (on by default) |
--color-text | --color-typ |
--color-text-acc | --color-typ-content |
--color-text-reverse | --color-typ-reverse |
--color-bg | --color-bgr |
--color-bg-acc | --color-bgr-tone |
--color-bg-reverse | --color-bgr-reverse |
--color-border | --color-brd |
--color-gold | --color-rating |
--font-headings | --font-heading |
--global-max-width | --container-site |
--global-content-width | --container-content |
--global-wide-width | --container-wide |
--global-radius | --radius-theme |
--global-hero-img-filter | --hero-image-filter (the Hero image filter setting) |
The other --global-… variables, --color-bg-base, --color-bg-base-reverse and --color-brand-hsl are gone, with nothing in their place.
Move a site over
After you upload Rinne 2.0 in Settings › Site › Theme › Change theme (set your Ghost site URL to open it in your Ghost Admin):
- Upload the new
routes.yamlfrom the theme’s zip in Settings › Advanced › Labs (set your Ghost site URL to open it in your Ghost Admin) (see Upload routes.yaml). - In Pages, create a page for each slug with the matching Template in its page settings:
signup(Template Signup),signin(Template Signin),account(Template Account),membership(Template Membership),resources(Template Resources) andrecommendations(Template Recommendations). Create only the ones your site uses. - Create a page with the slug
home-filtersand add the tags from your old Resources filter slugs setting to it, in the order you want them. Leave it out of your navigation. - To keep a CTA section above the footer, create a page with the slug
section-ctawith a Call to action or Signup card in it. Leave it out of your navigation. - Pick the template again in Post settings › Template on the posts that used one of the post templates, and in Page settings › Template on your directory pages.
- If your site used another font, set it in Settings › Site › Design & branding › Brand › Typography (set your Ghost site URL to open it in your Ghost Admin). Update any code injection that uses the old names in the table above.
Something missing or unclear? Ask support.