All Categories Quick Guides How to add custom fonts to a docs-site

How to add custom fonts to a docs-site

Load custom fonts from a CDN Server, or for instance use Google Fonts.

By Stefan
March 2, 2021

In order to style your docs-site, you may want to load a custom font from a CDN Server. In the following example, I will show you how to implement the font Raleway from Google Fonts. But you can use any CDN server to link your custom font.

Please go to the settings page of your HelpSpace docs-site and scroll to Advanced Styling.

Insert between head

<link rel="preconnect" href="https://fonts.gstatic.com"> <link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;1,100;1,200;1,300;1,400;1,500&display=swap" rel="stylesheet">

Custom CSS

* {
    font-family: 'Raleway' !important;
}

Was this article helpful?

Thanks for your feedback!