Tagged: google fonts
-
AuthorPosts
-
March 14, 2017 at 2:00 am #760381
Hello! I want to add a Google fonts. I’ve added the following code at the end of the functions.php but it doesn’t appear in the Fonts>Dropdown. What is wrong?
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Poppins’] = ‘Poppins:300,400,500,600,700’;
return $fonts;
}add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Poppins’] = ‘Poppins:300,400,500,600,700’;
return $fonts;
}March 15, 2017 at 5:10 am #761101Hey CharlieBarey,
Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardMarch 15, 2017 at 5:08 pm #761507Here it goes!
March 15, 2017 at 9:47 pm #761630Hi,
I
ve checked your dashboard and you need to set me Administrator permissions because I cant see all the menu. I think that it`s easier if you use this plugin https://wordpress.org/plugins/wp-google-fonts/ to add any google font.Best regards,
John TorvikMarch 16, 2017 at 12:15 am #761691I tried with the plugin, but the Poppins font doesn’t appear,
You have permission now!March 16, 2017 at 3:08 pm #761961Hey!
I edited functions.php file in Appearance > Editor and moved your code below following line
if(isset($avia_config['use_child_theme_functions_only'])) return;Please review your website now
Regards,
YigitFebruary 10, 2020 at 7:56 pm #1183202Hi:
I want to use the Poppins font too… I’ve downloaded it from Google Fonts, but when I try to upload I get the error message ” Couldn’t add the font because the server didn’t respond” it is in the media library, but cannot get into enfold. What causes this error?
February 10, 2020 at 9:18 pm #1183266Hi Eleina_Shinn,
Do you have the PhpZip extension enabled on the server?
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.
