Get an access to all 94 items designed and developed by AS Designing team plus all the future items which will be released over the course of your club subscription. Price starting from $59.00
How can I add a google-font to the font-list in the template?
I 've tried to add the code in the 'as002059/font.php' as the other fonts:
case 'Nunito':
$font_arr['fontlink'] = "<link href='http://fonts.googleapis.com/css?family=Nunito' rel='stylesheet' type='text/css'>";
$font_arr['fontfamily'] = "font-family: 'Nunito', sans-serif !important;";
break;
but the font is not listed in the template-configuration.
It is not enough to add the font in the font.php file, you need to add it as well in the templateDetails.xml file.
Regards, AS Team.