<- Documentation

Last edited on July 9, 2021

How to add custom fonts.

You can add more fonts using Google Fonts by using the Code Injection feature.

1. Go to Google Fonts and copy the import code

Go to Google Fonts, select the font that you like:

  1. Select styles (regular, bold, etc)

  2. Click View your Selected Families on the right top corner

  3. Copy the code

Copy the code to import fonts from Google Fonts

2. Paste the code in Code Injection

Go to Settings > Code Injection, then paste the Google Fonts Code from Step 1

Paste in the code from Google Fonts to Settings > Code Injection

3. Update <style> to the page to use the new font

Below your pasted code above, add styling to the .content span element to cover the whole page.

Copy the CSS font style from Google Fonts:

Then compose your CSS code like this:

    .content span {
      font-family: 'Dancing Script', cursive;

Then paste it below your code in Site Header.

🎉 Done

Press Update Settings to show the changes.

For reference:

Here's the whole code that you need in Site Header:

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:[email protected];600&display=swap" rel="stylesheet">

    .content span {
      font-family: 'Dancing Script', cursive;    

Here's how your Site Header should look like in the end:



Copyright © 2021 Govest, Inc. All rights reserved.

Y Combinator

Funded by Y Combinator

Product Hunt Product of the Month badge

Made in Typedream