Tagged: adding, google fonts
I don’t see Montserrat in the dropdown and I really would like it to be included. How can I do this please?
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
Thank you!