Tagged: Advanced Styling
URL: http://www.suemasondesign.com
Hi there
I want to add the font Amatic to the advanced styling font choices – how do I do this? The font is already within the fonts on my PC.
Thank you!
Hey Susanne,
Please refer to this post – https://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/ :)
Best regards,
Yigit
Hi Ygit,
Thank you for this.
Yes, Amatic SC is a Google font.
So I added the font in the child theme’s functions like this:
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Amatic SC’] = ‘Amatic SC:400,700’;
return $fonts;
}
add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Amatic SC’] = ‘Amatic SC:400,700’;
return $fonts;
}
And saved it, refreshed the website. But still, the Amatic font doesn’t appear in the list of fonts in advanced styling. Do I miss anything? Please find my login credentials below.
Hi,
I logged into your website and checked the list but it appears to be there at the bottom :)
Best regards,
Yigit
Great, Yigit! I looked alphabetically – so didn’t see it at the bottom.
Thank you.
Hi,
You are welcome! :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)
Best regards,
Yigit