Welcome! To use this support forum, please Login or Join Today!
You are here → Home :: Forum Home :: WordPress Themes Support :: Lightfast WordPress Theme :: Thread
Additional fonts to the customizer
Hello,
Is there a way to add additional fonts to the customizer? In this case, a google font.
Thanks.
I found this article in your support forum: https://gist.github.com/simplethemes/5779136 However, it is not clear if this would replace the whole font stack with new fonts, or just add to the existing font stack. Could you clarify? Thanks.
Found a solution:
-Create a child theme lightfast-child
-Copy lightfast/customizer.php to lightfast-child/
-Add the desired google font to array ‘$available_fonts’. In my case, added: ‘Raleway’ => ‘Raleway’, in lightfast-child/customizer.php
-Include the following lines in lightfast-child/functions.php: include( get_stylesheet_directory().’/customizer.php’ ) ;
Ready
Hope it helps someone.