Site logo

[Support request] How to use premium fonts(Non Google Fonts) on theme

Home Forums Support [Support request] How to use premium fonts(Non Google Fonts) on theme

Home Forums Support How to use premium fonts(Non Google Fonts) on theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2505433
    Anant

    I went through this article for the guide to use a different premium font I have: https://docs.generatepress.com/article/adding-local-fonts/#:~:text=Uploading%20our%20font,us%20to%20upload%20font%20files.

    At the end of the article, it says fonts can now be uploaded by directly mentioning their font family. That is not working in my case my fotn does not show up in the dropdown still.

    The font I am trying to use is this one: SangBleu Versailles

    https://eng.m.fontke.com/family/1429297/

    #2505460
    Fernando
    Customer Support

    Hi Anant,

    The font won’t show up in the drop-down.

    You’ll need to type the font family name you set through the @font-face rules manually.

    Example, if you set the @font-face rule as such:

    @font-face {
      font-family: "trickster-test";
      src: local("Trickster"),
        url("trickster-COLRv1.otf") format("opentype") tech(color-COLRv1), url("trickster-outline.otf")
          format("opentype"), url("trickster-outline.woff") format("woff");
    }

    Then, you need to type trickster-test as the font manually.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.