Hi Guys,
My fonts Oswald and Ubuntu do not seem to be loading since update to 3.3.1. I’ve noticed that they keep resetting to default in the Enfold admin panel under general styling too.
The headlines and body text should be Oswald and there is an h2 headline in Ubuntu italic. I’ve added these in the Child theme Functions php as I always do:
<?php
/* Add Google font to content AND header listings – note different calls for ‘content’ and ‘heading’ for each */
add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Oswald’] = ‘Oswald:700,400,300&subset=latin,latin-ext’;
$fonts[‘Ubuntu’] = ‘Ubuntu:300italic,300,500italic,500&subset=latin,latin-ext’;
return $fonts;
}
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Oswald’] = ‘Oswald:700,400,300&subset=latin,latin-ext’;
$fonts[‘Ubuntu’] = ‘Ubuntu:300italic,300,500italic,500&subset=latin,latin-ext’;
return $fonts;
}
add_theme_support(‘avia_template_builder_custom_css’);