Tagged: background video, google font
-
AuthorPosts
-
March 31, 2017 at 5:09 pm #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
March 31, 2017 at 5:10 pm #770093I apologize for my bad English :)
April 2, 2017 at 10:01 am #770570Hi,
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,
RikardApril 2, 2017 at 12:29 pm #770608Hi,
I was able to add a single font, but I can not add more than one, the last font added replaces the one before
April 2, 2017 at 12:58 pm #770613Hey!
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 youBest regards,
BasilisApril 4, 2017 at 11:02 am #771650I 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;
}April 6, 2017 at 6:53 pm #773395Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.