I’ve been testing new Google fonts lately and noticed some are missing from the list like Roboto Light. Can the list be updated and perhaps have a search function to facilitate finding fonts in the dropdown?
I have noticed some fonts are not included in the drop-down list, such as Heebo, Prompt, Suez One, and probably many others. I understand it might not be useful or efficient to list ALL the available Google Fonts – how can I use one of the fonts that is not listed?
I try to find the place in the code that controls the google fonts available in the elementor font interface, I guess is this:
wp-content/themes/generatepress/inc/add-ons/typography.php
In line: 1155
$content = json_decode([…])
I add another json element to the font list, especifying the font that i need. Then i save the PHP file an rerun the config interface again but nothing happens. I guess i am missing something. Please what am i doing wrong? I want to make a quick fix while any update is available.
I have added a custom font before that wasn’t on the list and it worked perfectly.
Now I wanted to add another (second) new font but am not sure how to add this onto the existing code in the functions file (I’m guessing I need to extend the array but I am not sure the syntax.