Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
  • #691620


    So I added at the bottom of function.php this code:

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts) {
    $fonts[‘Racing Sans One’] = ‘Racing Sans One’;
    return $fonts;

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts) {
    $fonts[‘PT Mono’] = ‘PT Mono’;
    return $fonts;

    but none of fonts are showing under general styling – fonts tab.

    Before updating to 3.8 i used the same code from above and it worked perfectly. Both fonts are on google list.


    Hey pajicu,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,


    you are not using the google fonts decalaration:

    go to the @import rule goolge gave you for this font:

    @import '';
    or with latin extended:
    @import '
    the interesting thing now is what is behind that css?family=


    same with PT Mono:

    @import '


    so please try this here :

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    $fonts['Racing Sans One'] = 'Racing+Sans+One&subset=l';
    return $fonts;
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    $fonts['PT Mono'] = 'PT+Mono&subset=latin-ext';
    return $fonts;

    btw: they are addded at the end of the list


    I replaced with code you gave me. Nothing happened, also tried without latin ext


    i tested it – and it works

    but! where do you insert that code ? on functions.php of your parent theme?


    sorry, didn’t notice that reply area can not be empty…here are my Login credentials:


    yes sir, on the bottom of parent theme



    I edited functions.php file and moved your code from bottom to below following line

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    Please review your website now

    Best regards,


    Thank you very much!!!! you are really the best and the fastest support.

    Code i gave in first post is the correct one…just wrong place in function. ‘+’ in the second code is excess. (PT+Mono) didn’t work so i erase (PT Mono) and now it’s back to as it was

    Best regards,




    You are welcome!
    For your information, you can take a look at Enfold documentation here –
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here –
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)


Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Added google fonts not showing’ is closed to new replies.