- This topic has 11 replies, 4 voices, and was last updated 3 years, 10 months ago by Leo.
May 30, 2017 at 5:04 am #326080Yannick
with this article it’s really easy to add missing/needed google fonts to the Typography list.
Thank you!! Perfect Theme, perfect support!!
What do you recommend to use? Code Snippet or ChildTheme? Activating all GoogleFonts or only the ones I need? Is there a difference in page speed depending on what I choose?
On the first homepage I created, I somehow added only one Google Font in the Typograph list. But I have no idea how I did it. I have no Code Snippet or other PHP plugin, I didn’t add something in the function.php and also in SimpleCSS I find nothing…
Someone has an idea what and how I added this GoogleFont, so I can delete it and add it with CodeSnippet or my ChildTheme?GeneratePress 1.3.46GP Premium 1.3May 30, 2017 at 8:29 am #326149LeoStaffCustomer Support
If you don’t have tons of customization then Code Snippet should do. See this page for explanation when to use a child theme: https://docs.generatepress.com/article/using-child-theme/
There is no point activating all the fonts if you are not using them.
If you haven’t added any fonts, then it’s probably one of the most 200 popular google fonts that are activated by default?
Let me know if this helps.May 30, 2017 at 8:51 am #326158Yannick
I asked about “activating all fonts” for my own understanding, not so important 😀 I just wanted to know if this activation “uploads” all the fonts or does it only show all fonts which are anyway already uploaded?
No the font (Alegreya Sans SC) is not in the 200 popular google fonts. On my new page I was looking for the same font I used on my old page, this is how I realised that I have no idea how I did it on my old page. The font is also listed on the end of the typography list and not in alphabetic order like the rest of the fonts.
But also not so important. It works… not the best way if I don’t know how… but it works out 😀
YannickMay 30, 2017 at 9:07 am #326172TomLead DeveloperLead Developer
It doesn’t upload any fonts, it simply adds them to the list in the Customizer, then makes the call to Google if they’re selected 🙂May 30, 2017 at 11:07 pm #326459Yannick
Thank you for your explanation 🙂May 31, 2017 at 12:00 am #326464TomLead DeveloperLead DeveloperJune 12, 2017 at 12:27 pm #332551James
Is Code Snippet the same a Simple CSS (which I have installed)? I ask this here because I want to add a Google font.
James M. Fisher
www.MiramichiReader.caJune 12, 2017 at 12:29 pm #332554LeoStaffCustomer Support
No they aren’t the same.
Code Snippet is for adding PHP: https://docs.generatepress.com/article/adding-php/
Simple CSS is for adding CSS: https://docs.generatepress.com/article/adding-css/June 12, 2017 at 12:33 pm #332556James
James M. Fisher
www.MiramichiReader.caJune 12, 2017 at 12:47 pm #332560LeoStaffCustomer SupportJune 12, 2017 at 12:51 pm #332562James
And what do you know? It works! LOL
James M. Fisher
www.MiramichiReader.caJune 12, 2017 at 1:23 pm #332575
- You must be logged in to reply to this topic.