How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support Adding custom fonts to the theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13027
    elix4r
    Participant

    Hello.

    Is it possible to add custom fonts directly into the theme, so I can choose it from the Visual Settings, Fonts tab? I know there are multiple plugins that allow to change fonts, but most of them slow website loading speed, so I’d really like to add it directly.

    I’m using CasinoAce theme latest version.

    Thank you in advance.

    • This topic was modified 3 years, 7 months ago by elix4r.
    #13054
    admin
    Keymaster

    Hi!

    You can do the following in order to add a new Google font to Visual Settings:

    find inc/acf-metaboxes.php in the parent theme, create folder “inc” to your child theme and copy the file to forexoptions_child/inc/acf-metaboxes.php
    Then search for “font_family” and add to the “choices” array the new font.

    After that the new font will be available to Visual Settings and if you select it it will be loaded to the frontend.

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