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

    I don’t see Montserrat in the dropdown and I really would like it to be included. How can I do this please?

    #136102

    Hey,

    Edit functions.php, find this code:

    global $avia_config;

    Below, add this:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Montserrat'] = 'Montserrat';
    return $fonts;
    }

    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Montserrat'] = 'Montserrat';
    return $fonts;
    }

    It is now available on the Heading and Body font dropdown.

    Regards,

    Ismael

    #136103

    Thank you!

    #136104

    Hey,

    Glad we could help. :)

    Cheers,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Google "Montserrat" – how can I add it?’ is closed to new replies.