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

    Hi, I need to use Open Sans Normal 400 fot the paragrahs and Extra-Bold 800 for the titles, but in the stilyng i only can specify a simple Open Sans option.

    I have added the following on function.php but did not work

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Open+Sans:800’] = ‘Open+Sans:800’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Open+Sans:400’] = ‘Open+Sans:400’;
    return $fonts;
    }

    #228690

    Hey dmaldonado!

    Please see Peter’s post here https://kriesi.at/support/topic/add-a-new-custom-font/#post-212124

    Best regards,
    Yigit

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