Additional fonts to the customizer
Is there a way to add additional fonts to the customizer? In this case, a google font.
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’ ) ;
Hope it helps someone.