Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #934237

    URL: http://www.suemasondesign.com

    Hi there
    I want to add the font Amatic to the advanced styling font choices – how do I do this? The font is already within the fonts on my PC.
    Thank you!

    #934241

    Hey Susanne,

    Please refer to this post – https://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/ :)

    Best regards,
    Yigit

    #934415

    Hi Ygit,
    Thank you for this.
    Yes, Amatic SC is a Google font.
    So I added the font in the child theme’s functions like this:
    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Amatic SC’] = ‘Amatic SC:400,700’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Amatic SC’] = ‘Amatic SC:400,700’;
    return $fonts;
    }

    And saved it, refreshed the website. But still, the Amatic font doesn’t appear in the list of fonts in advanced styling. Do I miss anything? Please find my login credentials below.

    #934420

    Hi,

    I logged into your website and checked the list but it appears to be there at the bottom :)

    Best regards,
    Yigit

    #934424

    Great, Yigit! I looked alphabetically – so didn’t see it at the bottom.
    Thank you.

    #934426

    Hi,

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Add new font’ is closed to new replies.