Tagged: child theme, google fonts
Hi, I need to add a number of *.ttf and *.otf fonts to the “Heading Font” and “Body Text” panels in the “Styling” section in my Enfold theme.
I have tried a number of solutions posted in this forum without success.
There must be an “easy” way to achieve this. Could you please post a “solution for dummies”?
Thank you!
Hi upperhand!
You can easily add google fonts, please refer to this link: https://kriesi.at/support/topic/new-custom-font/
If you have a custom font or your own .ttf or .otf file, please refer to this link: http://css-tricks.com/snippets/css/using-font-face/
Best regards,
Ismael
Hi Ismael,
I just tried to add the Google font ‘Roboto’, but following your instructions above I couldn’t find a match for:
if(isset($avia_config['use_child_theme_functions_only'])) return;
So I can’t add the font.
I have 3.2 and a child theme.
Thank you.
Hi!
Try installing this plugin:
https://wordpress.org/plugins/functionality/
Then paste the code in Plugins > Edit Functions.
Regards,
Josue
Thanks!