Hi
I wonder how can I add more fonts from google into the general styling as the picture shows ?
Is it possible if I want to add my own fonts ?
Thanks
Hey!
Add this code to your theme / child theme functions.php:
add_filter( 'avf_google_heading_font', 'add_custom_font');
add_filter( 'avf_google_content_font', 'add_custom_font');
function add_custom_font($fonts) {
$fonts['Source Sans Pro'] = 'Source Sans Pro:400,600,800';
return $fonts;
}
Change “Source Sans Pro” by the Google Font you want to use.
Cheers!
Josue