1
Answered

How do I add a custom font?

I have a font I would like to use, but it is not in Google Fonts.  How do I add it?

1 reply

You are able to add a custom ttf file.  Follow the following steps:

  1. Go to the "Assets" tab.  Under "Add File", choose your ttf file.  You should see it added under assets.  For example: assets/Ranga-Regular.ttf
  2. Go to the "Advanced" tab.  Add the code shown below.  Replace fontname with the name you want to use for the font, and assets/RanglaRegular.ttf with the path to your ttf file.
  3. In your Template, refer to the font using the name you put in the Advanced tab.

Code for the Advanced tab:

fonts: {
  "fontname (font)": "assets/Ranga-Regular.ttf"
},