Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #770092

    Hello,
    First of all congratulations for your work, enfold is really well done.

    I have a multi-site installation and I need to put more than one google fonts at a time, now I put them in function.php but I can post only one. How I can insert more than one?

    – I need that the background video of the section color become visible on mobile devices.
    With another premium plugin in my possession it works, but I need to do it with enfold, it’s possible to add the default autoplay?

    Thanks in advance

    #770093

    I apologize for my bad English :)

    #770570

    Hi,

    Let’s stick to your first problem first, did you try out code like this to add additional Google Fonts? http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/

    Best regards,
    Rikard

    #770608

    Hi,

    I was able to add a single font, but I can not add more than one, the last font added replaces the one before

    #770613

    Hey!

    Can you please provide us the hole codeblock that you are adding, so we can take a look and check what needs to be done?
    Thank you

    Best regards,
    Basilis

    #771650

    I tried so :

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

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

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

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

    #773395

    Hi kurzino,

    Try this code:

    
    
    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Qwigley’] = ‘Qwigley’;
    $fonts[‘Macondo’] = ‘Macondo’;
    return $fonts;
    }
    
    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Qwigley’] = ‘Qwigley’;
    $fonts[‘Macondo’] = ‘Macondo’;
    return $fonts;
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.