Introduction
The following documentation serves as your guide to the new theme. Since this is Ghost theme documentation, it is assumed that you have a basic knowledge of the Ghost.
If you’re new to Ghost, it’s recommended to explore the guides in the official Ghost Help Center. Checking these resources will provide you with all the available information.
Uploading a theme
This is where the magic happens! You are able to upload, activate and delete a theme in the Ghost Admin of your publication.
Step-by-Step
- To upload a theme, go to the 'Design & branding' settings in the Ghost Admin and click 'Change theme' in the bottom right corner.
- Then click the 'Upload theme' button in the upper right corner.
- Once uploaded, click 'Activate' to activate the theme on your site.
Dark version
The dark version introduces a fresh and distinctive appearance for your website, bringing a modern and stylish aesthetic that enhances the visual experience for your visitors.
Step-by-Step
- Go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Site-wide' – expand this settings list and go to the 'Color scheme' position.
- Use the dropdown menu to select your option.
- Finally, click 'Save' to activate.
Tip: Dark version depending on operating system preferences
Modern operating systems (Windows, macOS, iOS, etc.) allow users to choose their preference for light or dark system themes. The below feature is used to detect if the user has requested the system to use a light or dark color theme.
- To activate an auto dark version based on user operating system preferences, select the 'Auto' option.
- Click 'Save' to activate.
Featured section
Select which posts you want to featured in your publication.
Step-by-Step
- Open the post you would like to add to the featured section.
- Then, go to the 'Post settings' panel using the icon in the top right of the screen.
- At the bottom of the panel, you'll find a switch labeled 'Feature this post.'
- Click the switch and close the panel.
Tip: How to add color to posts marked as featured?
- To change the color of featured post, go to the 'Tags' settings in the Ghost Admin.
- Click on the 'New tag' button and add an internal tag such as
#color-ultramarine
. Then, under the 'Color' option, set its color to#002cff
.
The name of your tag must start with the word 'color' and it must be an internal tag, for example: #color-yellow
, #color-green
, etc."
If you want the text color to be white, add-white-text
at the end of the slug in the 'Slug' field, like in the examplehash-color-ultramarine-white-text
. If you just usehash-color-ultramarine
, the text color will be black.
- Click 'Save', then go to the featured post and add your color tag to it.
- Finally, click 'Update' to activate.
Tip: Specify the number of featured posts in the featured posts section
- To change the number of featured posts, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Homepage' – expand this settings list and go to the 'Featured posts limit' position.
- Select how many featured posts you want to display (default is 5).
The most optimal number is the default value of 5. Displaying 10 posts also looks interesting, but remember that in the mobile view, only 4 posts will always be presented, regardless of the number of featured posts set. Overall, the guiding principle here is that the smaller the screen, the fewer posts are presented in the featured section.
- Finally, click 'Save' to activate.
Tip: How to remove featured posts from the main collection? (For advanced users)
- Go to the 'Labs' settings in the Ghost Admin, click on 'Beta features' tab and you will find the 'Routes' section.
- Upload the
routes.yaml
file with these settings:
Spotlight section
The spotlight section appears automatically if the first post has a primary tag in the current pagination. Otherwise, the section is hidden, and the first two posts fill its place.
Tip: How to disable the spotlight section?
- To disable the spotlight section in the feed, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Site-wide' – expand this settings list and go to the 'Spotlight section in feed' position.
- Use the toggle switch.
- Finally, click 'Save' to activate.
Recommendations page
Recommend any publication that your audience will find valuable, and find out when others are recommending you.
Recommendations feature is currently in beta, which means there may be unexpected behaviors or errors. Please keep this in mind when using this feature.
Step-by-Step
- To enable the recommendations feature, go to the 'Recommendations' settings in the Ghost Admin.
- Click the 'Add recommendations' button.
- Follow the steps in the configurator.
Add a recommendations page
- Create a new page, add a page title, and open the 'Page settings' panel using the icon in the top right of the screen.
- At the bottom of the panel you’ll see a dropdown menu titled 'Template'.
- Use the dropdown menu to select the 'Recommendations' template, close the panel.
- Finally, click 'Publish'.
Authors page
To present all authors from your publication in an elegant way, you can add a custom authors page.
Step-by-Step
- Create a new page, add a page title, and open the 'Page settings' panel using the icon in the top right of the screen.
- At the bottom of the panel you’ll see a dropdown menu titled 'Template'.
- Use the dropdown menu to select the 'Authors' template, close the panel.
- Finally, click 'Publish'.
Tags page
To present all tags from your publication in an elegant way, you can add a custom tags page.
Step-by-Step
- Create a new page, add a page title, and open the 'Page settings' panel using the icon in the top right of the screen.
- At the bottom of the panel you’ll see a dropdown menu titled 'Template'.
- Use the dropdown menu to select the 'Tags' template, close the panel.
- Finally, click 'Publish'.
Contact page
If you wish to have a direct way in which your readers can contact you, you can add a contact page based on Formspree or Getform.
Step 1: Add your Formspree or Getform endpoint
- Go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Site-wide' – expand this settings list and go to the 'Contact form endpoint' position.
- Paste your Formspree or Getform endpoint, e.g.
https://formspree.io/f/xhyplkej
- Finally, click Save to activate.
Step 2: Add a contact page
- Create a new page, add a page title, and open the 'Page settings' panel using the icon in the top right of the screen.
- At the bottom of the panel you’ll see a dropdown menu titled 'Template'.
- Use the dropdown menu to select the 'Contact' template, close the panel.
- Finally, click 'Publish'.
Tip: How to add custom text and a checkbox to agree to your terms of service on the contact page?
- Open the 'Page settings' panel using the icon in the top right of the screen.
- At the bottom of the panel, you’ll see a menu titled 'Code injection'.
- Click on the 'Code injection' section and paste your text into the 'Page footer' field, like this:
You have read and agreed to the <a href="https://your-site.com/privacy/">Privacy Policy</a>
- Finally, click 'Update' to activate.
Logo
A publication logo is the primary logo for your brand and is displayed across your theme.
Step-by-Step
- To upload a logo, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Brand' – expand this settings list and go to the 'Publication logo' position.
- Click 'Upload logo' to upload your logo.
- Finally, click 'Save' to activate.
Tip: How to change logo size?
- To change logo size go to the 'Code injection' settings in the Ghost Admin and paste this code to the 'Site header':
- Adjust the current
<value>
to match the expected value, such as30px
- Finally, click 'Save' to activate.
Tip: Uploading an additional logo for dark color scheme
- To upload an additional logo, go to the 'Design & branding' settings in the Ghost Admin.
- On the right, you’ll see the 'Site-wide' tab – expand this settings list and go to the 'Color scheme' position – select the option related to dark color scheme to display the option to upload an additional logo below.
- Click 'Upload Image' to upload your logo.
- Finally, click 'Save' to activate.
About section
Add an 'about' text that will appear next to the featured section.
Step-by-Step
- To add the about text, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Homepage' – expand this settings list and go to the 'About text' position.
- Enter your own about text.
If you want your text in bold, use the <b>
... </b>
or <strong>
... </strong>
tag, like this:
Your own <strong>about text</strong>
- Finally, click 'Save' to activate.
Tip: How to add background gradient/color to about section?
- To add your own background color or gradient, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Homepage' – expand this settings list and go to the 'About background color' position.
- Choose your color or gradient:
- Color it can be written as hex e.g.
#ffd5eb
, rgb or rgba (if you don’t set a color, the body color will be used – if you want to use a light background color that varies between light and dark versions, you can enter the variable color:var(--color-two)
in the color field).
- The gradient color can be generated on this website. To the 'About background color' field, copy your gradient code like this one:
radial-gradient(circle, rgba(255,168,240,1) 30%, rgba(193,192,254,1) 100%)
- Finally, click 'Save' to activate.
Tip: How to add cover image to about section?
- To add the cover image, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Homepage' – expand this settings list and go to the 'About cover' position.
- Click 'Upload image' to upload your image.
- Finally, click 'Save' to activate.
Tip: How to change the opacity of the cover image?
- To change the opacity, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Homepage' – expand this settings list and go to the 'About cover opacity' position.
- Specify the cover's opacity – the lower the number, the greater the transparency – You can use percentage or numeric notation, e.g.,
80%
where0%
is full transparency or0.8
to0
. - Finally, click 'Save' to activate.
Tip: How to change the text color?
- To change the text color, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Homepage' – expand this settings list and go to the 'About text color' position.
- Use the dropdown menu to select your option.
- Finally, click 'Save' to activate.
Publication cover
In this theme, 'Publication cover' is used to display a cover in the 'Join the Club' widget visible below the bottom of the page.
Step-by-Step
- To upload a publication cover, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Brand' – expand this settings list and go to the 'Publication cover' position.
- Click 'Upload cover' to upload your image.
- Finally, click 'Save' to activate.
Accent color
Primary color used in your publication.
Step-by-Step
- To change the accent color in your publication, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Brand' – expand this settings list and go to the 'Accent color' position.
- Choose your color.
- Finally, click 'Save' to activate.
Fonts
You can change fonts using the 'Typography' setting in the 'Design & branding' section.
Using this option might not always give the best results because fonts are designed for different purposes and can vary in size. The theme doesn’t affect the list of available fonts or adjust them, so it’s a good idea to experiment and find what works best for your needs.
Step-by-Step
- Go to the 'Design & branding' settings in the Ghost Admin.
- On the right, you’ll see the 'Brand' tab and find the 'Typography' section.
- Use the dropdown menu to select your option.
- Finally, click 'Save' to activate.
Tip: Special font sets for the theme
Unlike the above option, the theme offers an alternative specifically crafted for it: font sets from the Google Fonts library. These fonts have been thoughtfully chosen to highlight the theme’s unique character, with their sizes and individual attributes precisely tailored to complement it.
You can also select the 'System fonts' option to use local fonts. This choice ensures the best performance for the theme.
Step-by-Step
- Go to the 'Design & branding' settings in the Ghost Admin.
- On the right, you’ll see the 'Theme' tab, expand this settings list, and find the 'Fonts' position.
- Use the dropdown menu to select your option.
- Finally, click 'Save' to activate.
Please remember to set the option to 'Theme default' in the 'Typography' section before using the 'Fonts' settings.
Hero title
Add and customize your own title on the homepage directly below the header on homepage.
Tip: How to add your own hero title?
- To add your own hero title, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Homepage' – expand this settings list and go to the 'Hero title' position.
- Enter your own hero title.
If you want your text in bold, use the <b>
... </b>
or <strong>
... </strong>
tag, like this:
Your own <strong>hero text</strong>
- Finally, click 'Save' to activate.
Hide author
Decide whether you want to display the author in the feed and on the post page.
In the case where the author is hidden, they will be replaced by the date in the post feed. However, on the post page, the date is always visible.
Step-by-Step
- To hide the author, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Site-wide' – expand this settings list and go to the 'Show author' position.
- Use the toggle switch.
- Finally, click 'Save' to activate.
Feed options
There are several specific settings for the post channel, such as image format or the visibility of certain sections.
Images orientation in the feed
- To change images orintation, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Site-wide' – expand this settings list and go to the 'Feed images orintation' position.
- Use the dropdown menu to select your option.
- Finally, click 'Save' to activate.
Post excerpt in the feed
You can hide the excerpt for posts in the feed (but for posts without images, the description is always visible regardless of this setting).
- To hide the excerpt for posts in the feed, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Site-wide' – expand this settings list and go to the 'Show excerpt in feed' position.
- Use the toggle switch.
- Finally, click 'Save' to activate.
The style of featured posts in the feed
Use if you don’t want to display the featured style post in the feed.
- To disable the style of featured posts in the feed, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Site-wide' – expand this settings list and go to the 'Featured style in feed' position.
- Use the toggle switch.
- Finally, click 'Save' to activate.
Spotlight section in the feed
Use if you don’t want to display the spotlight section in the feed.
- To disable the spotlight section in the feed, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Site-wide' – expand this settings list and go to the 'Spotlight section in feed' position.
- Use the toggle switch.
- Finally, click 'Save' to activate.
Post header layouts
The default post header layout features the title text on the left side and an image on the right. However, the theme includes a collection of post header layouts, allowing you to move the image to a new line and choose to center the text or select the image format.
Step-by-Step
- Open the 'Post' or 'Page' settings panel using the icon in the top right of the screen.
- At the bottom of the panel you’ll see a dropdown menu titled 'Template'.
- Use the dropdown menu to select the template, for example: 'Template (Row) Text 'Center' + Image' – this means that the text will be centered, and the image will be displayed on the right side.
- Close the panel and click 'Update'.
Tip: How to choose the default template?
- To change the default template, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Post' – expand this settings list and go to the 'Default template' position.
- Use the dropdown menu to select your option.
- Finally, click 'Save' to activate.
Custom pages
By default, the theme utilizes Portal. If you want to use links to custom pages, follow the instructions below.
Step-by-Step
- First, configure your custom Signup & Signin and Membership pages.
- Then, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Site-wide' – expand this settings list and go to the 'Use portal' position.
- Set the toggle switch to the 'off' – at this point, you will see additional option: 'Join button url slug' – add your slug for 'Join' button, for example
/signup/
(if the value is empty, Portal will be used). - Finally, click 'Save' to activate.
Tip: What to do in case of an 400 error with message e.g. 'Missing template members/signin.hbs for route /signin/'
The error indicates that there was previously used aroutes.yaml
file with another theme that required it. To solve the problem, reset theroutes.yaml
file to its default settings.
Signup & Signin pages
The 'Signup' and 'Signin' pages are allowing your visitors to sign up to your site in order to access members only content.
Step-by-Step
- Create a new page, add a page title, and open the 'Page settings' panel using the icon in the top right of the screen.
- Provide the appropriate 'Page URL' as
/signin/
for the 'Signin' page and/signup/
for the 'Signup' page. - At the bottom of the panel, you’ll see a dropdown menu titled 'Template'.
- Use the dropdown menu to select the 'Signin' for the signin page and 'Signup' for the signup page.
- Finally, click 'Publish'.
Membership page
The 'Membership' page is helping your visitors to quickly visualize and compare the different pricing plans you offer.
Step-by-Step
- Create a new page, add a page title, and open the 'Page settings' panel using the icon in the top right of the screen.
- At the bottom of the panel you’ll see a dropdown menu titled 'Template'.
- Use the dropdown menu to select the 'Membership' template, close the panel.
- Finally, click 'Publish'.
Tip: How to add premium tier?
- Go to the 'Tiers' settings in the Ghost Admin.
- Click on the 'Connect with Stripe' and configure your Stripe account.
- If you have Stripe connected, click '+Add tier' – add your own tier name, description, monthly and yearly prices and list of benefits.
- Click 'Save & close'.
- Making tiers available to visitors – from the 'Portal settings', you can control which tiers appear on your site.
Tip: How to add description and list of benefits to free tier?
- Go to the 'Tiers' settings in the Ghost Admin.
- Click 'Free' position and add your tier description and list of benefits.
- Finally, click 'Save & close' to activate.
Tip: How to add position to FAQ?
You can add FAQ items in your page content using the 'Toggle card' in the Ghost editor.
The page content on the 'Membership' page only serves to add FAQ items, it is not designed for other types of content.
'Join the Club' widget
The 'Join the Club' widget appears automatically at the bottom of your site when you have added a free plan to your publication.
Step-by-Step
- Go to the 'Tiers' settings in the Ghost Admin.
- Click on the 'Free' option and configure your description and list of benefits.
- Finally, click 'Save & close' to activate.
Tip: How to add the background cover?
- To add a background cover, go to the 'Design & branding' settings in the Ghost Admin.
- On the right you’ll see the tab 'Brand' – expand this settings list and go to the 'Publication cover' position.
- Click 'Upload cover' to upload your image.
- Finally, click 'Save' to activate.
Comments
The native comments feature in Ghost allows you to invite members to join the discussion and participate in a community directly on your website.
Step-by-Step
- To enable native comments, go to the 'Access' settings in the Ghost Admin.
- Change the 'Commenting' level to 'All members' or 'Paid-members only'.
- Finally, click 'Save' to activate.
Editing a theme
To edit files, you will need to unzip the theme archive — at this point you will have access to the necessary files indicated in the theme documentation.
Step-by-Step
- To edit your theme files, download a copy of the theme. For this purpose go to the 'Design & branding' settings in the Ghost Admin and click 'Change theme' in the bottom right corner.
- Use the 'Installed' tab menu in the upper right corner to download your theme, then unzip the theme locally.
- Once the theme is unzipped, the files can be edited using an code editor – make the changes indicated in the theme documentation.
You can edit files using applications (code editor) such as Sublime Text, Visual Studio Code or Brackets. Using native text editors like TextEdit on macOS may add formatting may cause the theme to work incorrectly.
- When you’ve finished making changes to the theme code, re-zip the theme directory for uploading back to Ghost.
To create a zip archive on a macOS, right-click on the theme folder to view the context menu. Then, click the 'Compress' option. On Windows right-click on the theme folder, select 'Send to', and then select 'Compressed (zipped) folder'.
- To upload a theme, go to the 'Design & branding' settings in the Ghost Admin and click 'Change theme' in the bottom right corner.
- Then click the 'Upload theme' button in the upper right corner.
- Once uploaded, click 'Activate' to activate the theme on your site.
Updating a theme
Updates to the theme ensure compatibility with the latest Ghost version, performance improvements and minor bug fixes. So it is important that you use the latest available theme version.
If your theme features custom code, updating it with the latest versions will overwrite all your customizations.
Step-by-Step
- Download the latest version of the theme, then unzip the archive locally.
- Choose a theme version that is compatible with your Ghost version.
- To upload a theme, go to the 'Design & branding' settings in the Ghost Admin and click 'Change theme' in the bottom right corner.
- Then click the 'Upload theme' button in the upper right corner.
- Once uploaded, click 'Activate' to activate the theme on your site.
Tip: What if you’ve already edited the theme, and want to update it without losing your changes?
That’s a bit trickier to deal with but not impossible, as long as you can remember what the changes were, or more specifically which files you edited. Unfortunately in Ghost when updating a theme you have to re-enter your changes.
For more advanced users, it can be helpful to use a comparing files app like Sublime Merge – that way you can find your changes if you don’t remember them.
Tip: After uploading the theme my settings in Design section were reset, what should I do?
The best solution is to always use the same name e.g. theme-name.zip
– that way you will not have to enter your settings again after uploading a theme.
Ghost assigns the settings in the 'Design & branding' section to the name of the uploaded archive. If you uploadtheme-v1.zip
andtheme-v2.zip
– Ghost will recognize them as two different themes – so the settings will reset.
Theme translation
Translations are used both when you want to add a new language and when you want to edit current phrases used in the theme.
Editing current phrases used in the theme (Requires theme editing)
- You’ll need to open the theme’s
../locales/en.json
file in your code editor. - Change the sentences used in the theme following the pattern:
{
"Old translate": "New translate",
...
}
- After making your changes, save your file, compress the theme into a zip format, and upload it to Ghost.
Translation to another language (Requires theme editing)
- Inside the
../locales/
folder, add target language file for examplees.json
for Spanish andpl.json
for Polish (a valid language code must be used). - Based on the translation from the
en.json
file, add translations for your language in your code editor. For example, for Spanish, use in thees.json
file:
{
"Back": "Volver",
"Newer Posts": "Artículos Siguientes",
"Older Posts": "Artículos Anteriores",
...
}
- After making your changes, save your file, compress the theme into a zip format, and upload it to Ghost.
- Then, go to the 'Publication Language' settings in the Ghost Admin.
- Enter the correct language code into the 'Site language' field.
- Finally, click 'Save' to activate.
Posts per page
The number of posts provided will depend on the 'post per page' setting which you can configure in your package.json file.
Step-by-Step (Requires theme editing)
- You’ll need to open the theme’s
package.json
file in your code editor and find:
"config": {
...
"posts_per_page": <value>
...
}
- Change the current value to the expected value.
- Save your
package.json
file in root folder.
Social accounts
Link your social accounts to have them displayed in the footer of your publication.
For: Facebook and X
For: Instagram, YouTube, LinkedIn, Snapchat, Pinterest, Tumblr, TikTok, Reddit, Weibo, Threads, Discord and Mastodon
Instagram
, and then set the URL to your social profile.Tip: Adding other social accounts to the footer (Requires theme editing)
../partials/footer_icons.hbs
file in your code editor.{{!--
and--}}
for the chosen profile icon.#
for eachhref
value with your own profile links.footer_icons.hbs
file in../partials/
folder.