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

    I tried to add Google font “Prociano” by adding this code in functions.php but the font is not appearing in the list.
    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Prociono’] = ‘Prociono’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Prociono’] = ‘Prociono’;
    return $fonts;
    }

    #986657

    Hey AudioSuites2018,

    Have you tried adding the font by linking the CDN directly in the header file.

    Here are alternative approaches:

    https://www.designbombs.com/add-google-fonts-wordpress/

    Best regards,
    Jordan Shannon

    #987176

    I had that option as my backup but wont it be affected during theme update?

    #987182

    Hi,

    Not if added via functions.php. Method D in the the link I provided.

    Best regards,
    Jordan Shannon

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