I see there are less than 50 fonts for the body text. How can I add all of the Google fonts to the list? Also, how can change the font size to the body and headings. My URL is http://www.headmenco.com.
Hi mrtechnique!
You can use this filter on functions.php to add google fonts:
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;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Source Sans Pro'] = 'Source Sans Pro:400,600,800';
return $fonts;
}
Replace Source Sans Pro with the font that you want. Which headings are you trying to change? You can use this for the body font:
body, body p {
font-size: 15px;
}
Cheers!
Ismael
Does this code in the function.php get overwritten on an update? If now, why not?
Hi!
Yes it will, but you can use child theme. Please see http://kriesi.at/documentation/enfold/using-a-child-theme/
Regards,
Yigit