How to use local font

Astroid framework supports not only Google fonts but local fonts also. In particular, it's ready for some font formats including "otf", "ttf" and "woff".

Here is an example that you can follow to add your own local font:

  1. You can upload ttf to media/templates/site/{template}/fonts or images/{template}/fonts

  1. Go to template options > typography > choose your custom font

You should apply the font to all template styles, the changes will be reflected on the whole website.

  1. Save changes and clear caches, then go to the front end and check it.

Last updated

© Astroid Framework 2023.