1. I can’t use this font https://fonts.google.com/specimen/Libre+Baskerville inside the theme when I upload it shows Font: font (400) even if I upload multiple font types in the theme.
2. Can’t use the Envato private token to connect the website with the theme. As seen on the link: https://ibb.co/HptMmvx
Hey wasim-ullah,
1. Could you try adding it using a function instead? Here’s an example: https://kriesi.at/support/topic/add-new-font/#post-234710
2. Please refer to this: https://kriesi.at/documentation/enfold/theme-registration/#toggle-id-5
Best regards,
Rikard
I have tried using the following code, but it didn’t work:
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Libre Baskerville’] = ‘serif:400,600,800’;
return $fonts;
}
add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Libre Baskerville’] = ‘serif:400,600,800’;
return $fonts;
}
Hi wasim-ullah,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
Victoria
Please use the temporary login URL in the private content section.
Hi wasim-ullah,
Please upload the font and let us check.
I see that the token issue is resolved now, is that correct?
Best regards,
Victoria
No, it is still there.
Hi wasim-ullah,
Best regards,
Victoria
Its fine now. Thanks