Tagged: ,

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

    Hello

    I followed a previous post to add the following into Functions.php

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Source Sans Pro’] = ‘Source Sans Pro:400,600,800’;
    return $fonts;
    }

    I replaced the font with the one I wanted to add and so added the following, the font appears in the list but doesn’t show on the page when chosen – have I added something incorrectly?

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Quando’] = ‘Quando’;
    return $fonts;
    }

    #698923

    Hi @inchmasterflex;
    have you tried with adding “font weight” ?

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Quando’] = ‘Quando:400’;
    return $fonts;
    }
    #698926

    Hi, great thanks that worked, I didn’t see that it had a weight!.

    #699523

    Hi,

    Great, glad you got it working and thanks @begrafiks for helping out :-)

    Please open a new thread if you should have any further questions or problems.

    Regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Issue adding Google Font’ is closed to new replies.