Hello,
is it possible to setup Open Sans font in the theme with Extended Latin subset? With default configuration I don’t have all characters needed for Croatian language.
Regards,
Darko
Yes – use following code and add it to the top of functions.php (after global $avia_config;):
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Open Sans'] = 'Open Sans:400,600&subset=latin,latin-ext';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Open Sans'] = 'Open Sans:400,600&subset=latin,latin-ext';
return $fonts;
}