Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #756534

    hi, I have to add the google font OVERLOCK to the list, both on securities that content, how can I do? Thank you

    #756541

    Hi albertobarch!

    Please refer to this post – http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/

    Best regards,
    Yigit

    #756546

    I don’t use child theme, I insert the code in functions.php, but it doesn’t work:

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Overlock’] = ‘Overlock’;
    $fonts[‘Overlock’] = ‘Overlock’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {

    $fonts[‘Overlock’] = ‘Overlock’;
    $fonts[‘Overlock’] = ‘Overlock’;
    return $fonts;
    }

    #757134

    I’ve tried with this, at the end of functions.php (not child theme):

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Overlock’] = ‘Overlock:400,600,800′;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Overlock’] = ‘Overlock:400,600,800′;
    return $fonts;
    }

    it doesn’t work, can you help me please? thank you

    #757135

    Hi,

    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,
    Yigit

    #757137

    I give the permission to deactivate plugins

    #757190

    Hi,
    I settled with plugin Easy Google Fonts

    #757242

    Hi,

    Great!
    Let us know if you have any other questions or issues!

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘add google font Overlock’ is closed to new replies.