If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #213618

    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;



    Does this code in the function.php get overwritten on an update? If now, why not?



    Yes it will, but you can use child theme. Please see http://www.kriesi.at/documentation/enfold/using-a-child-theme/


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.