Tagged: google font, issue
Hello
I followed a previous post to add the following into Functions.php
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Source Sans Pro’] = ‘Source Sans Pro:400,600,800’;
return $fonts;
}
I replaced the font with the one I wanted to add and so added the following, the font appears in the list but doesn’t show on the page when chosen – have I added something incorrectly?
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Quando’] = ‘Quando’;
return $fonts;
}
Hi @inchmasterflex;
have you tried with adding “font weight” ?
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Quando’] = ‘Quando:400’;
return $fonts;
}
Hi, great thanks that worked, I didn’t see that it had a weight!.
Hi,
Great, glad you got it working and thanks @begrafiks for helping out :-)
Please open a new thread if you should have any further questions or problems.
Regards,
Rikard