Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #808511

    Hi,
    I tryied to add the Comfortaa google font with greek laguage extention.
    1. I installed the child theme

    2. I added in functions.php of the child theme the following:

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Comfortaa’] = ‘Comfortaa:300,300italic,400,400italic,700,700italic&:greek’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {

    $fonts[‘Comfortaa’] = ‘Comfortaa:300,300italic,400,400italic,700,700italic:greek’;
    return $fonts;
    }

    The problem I have is at bold (emphasized) text, the “Comfortaa” font is ignored.
    Thank you in advance for your help.

    #808567

    Hey spapax,

    You should be able to set the font family for the strong tag under Enfold->Advanced Styling, could you try that out please?

    Best regards,
    Rikard

    #808980

    Great Rikard!
    Thanks!

    #809254

    Hi,

    Glad we could help. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Trying to add a Google font’ is closed to new replies.