Colors of background
You can easily add color of background on your site. You can choose a color from the color palette or add your own.
Step-by-Step- To add the color of background of your site, just add an adequate internal tag in 'Post settings' panel to the published post – this is a global setting that applies to all pages in your site.
- For example, add an internal tag
#site-ruby(tags which are prefixed by a#character, are internal tags within Ghost). - Click 'Update', to activate.
The tag slug should beAvailable light colorshash-site-colorname, for examplehash-site-ruby
Light colors means that the texts on the site will be black.
Pearl
#site-pearl
Parchment
#site-parchment
Celeste
#site-celeste
Arctic
#site-arctic
Lilac
#site-lilac
Pink
#site-pink
Sand
#site-sand
Canary
#site-canary
Avocado
#site-avocado
Jade
#site-jade
Dark colors means that the texts on the site will be white.
Rose
#site-rose
Ruby
#site-ruby
Burgundy
#site-burgundy
Magenta
#site-magenta
Eggplant
#site-eggplant
Neon
#site-neon
Ultramarine
#site-ultramarine
Sapphire
#site-sapphire
Grass
#site-grass
Emerald
#site-emerald
- To add your own color, go the 'Code injection' settings in the Ghost Admin and paste this code to the 'Site header':
<style>
.global-hash-site-custom-light-color {
--color-site-light: #333
}
</style>
<style>
.global-hash-site-custom-dark-color {
--color-site-dark: #333
}
</style>
- Change the value of the
#333parameter to your own color. - Click 'Save'.
- Go to the 'Post settings' panel and add an internal tag
#site-custom-light-coloror#site-custom-dark-colorto one of the published posts. - Click 'Update', to activate.
The tag slug should behash-site-custom-light-colororhash-site-custom-dark-color
Type at least 2 characters to search