Tagged: Advanced Styling
-
AuthorPosts
-
March 28, 2018 at 12:50 pm #934237
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!March 28, 2018 at 12:56 pm #934241Hey Susanne,
Please refer to this post – https://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/ :)
Best regards,
YigitMarch 28, 2018 at 5:26 pm #934415Hi 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.
March 28, 2018 at 5:34 pm #934420Hi,
I logged into your website and checked the list but it appears to be there at the bottom :)
Best regards,
YigitMarch 28, 2018 at 5:50 pm #934424Great, Yigit! I looked alphabetically – so didn’t see it at the bottom.
Thank you.March 28, 2018 at 5:55 pm #934426Hi,
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 -
AuthorPosts
- The topic ‘Add new font’ is closed to new replies.
