Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #622103

    Hi,

    I’ve been searching the forum how to make the body text Roboto font. I found this solution but both don’t work:

    In my child theme in functions.php:
    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts){
    $fonts[‘Roboto’] = ‘Roboto:’;
    return $fonts;
    }

    And in quick CSS:
    body { font-family: ‘name-of-your-custom-font-here’ !important; }

    Any ideas on how to solve this?

    I’m using the latest versions of Enfold and WP .

    Cheers,

    Steven

    #623676

    Hi steviger!

    Have you referred to this post – http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/
    If you have, do you mind creating a temporary admin login and posting it here privately?

    Cheers!
    Yigit

    #623696

    Hi Yigit,

    Yes I did without any luck. Funny enough does it work in other Enfold sites we made..
    Please find you login in the PC

    Regards,

    Steven

    #623706

    Hey!

    You had /* before your code which commented it out. I removed it. Please review your website now

    Best regards,
    Yigit

    #623714

    How stupid of me! Missed that one completely, sorry.

    Thanks a lot!

    Steven

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Roboto font for body (content) text’ is closed to new replies.