-
AuthorPosts
-
March 6, 2017 at 6:10 pm #756534
hi, I have to add the google font OVERLOCK to the list, both on securities that content, how can I do? Thank you
March 6, 2017 at 6:27 pm #756541Hi albertobarch!
Please refer to this post – http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/
Best regards,
YigitMarch 6, 2017 at 6:37 pm #756546I 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;
}March 7, 2017 at 5:22 pm #757134I’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
March 7, 2017 at 5:23 pm #757135Hi,
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,
YigitMarch 7, 2017 at 5:27 pm #757137I give the permission to deactivate plugins
March 7, 2017 at 7:20 pm #757190Hi,
I settled with plugin Easy Google FontsMarch 7, 2017 at 8:36 pm #757242 -
AuthorPosts
- The topic ‘add google font Overlock’ is closed to new replies.
