Archived topic
Using google fonts
15 replies · Started by Michael on January 21, 2018
Hi Leo.
Image 2: This is you PG Typography, but it doesn’t have all the Google fonts installed, therefore I installed the Google font pluggin.
Image 3 Has the Typograpy.what does Paraghs or Heading 1 – Heading 6 menus?
I’ve tried to play around with a couple of Heading 1 and 2, with no affect.
All I want is to be able to change menu header and footer fonts.
Images have been loaded to post master.
Please help
Hi Michael,
Here is how you can customize Google font list: https://docs.generatepress.com/article/customizing-the-google-font-list/
Menu font should be in Typography > Primary Navigation.
Footer font would be in Typography > Footer.
You need to provide the direct links here once you upload the images.
Sorry
I saw the links you gave.
Which codes do I need to copy and paste to?
Where do I access that in my dashboard?
This should be the one you need: https://docs.generatepress.com/article/customizing-the-google-font-list/#adding-your-google-font-to-the-list
I would recommend the code snippet plugin: https://docs.generatepress.com/article/adding-php/#code-snippets
So if I get snippet plugin.
How do I enter the google font codes?
See the example is the first link I provided above. It has explanations as well.
Which font are you wanting to add? I can help out with the code :)
I like gruppo.
I’m not very computer lettered. So pls
Explain to me in dummy form.
It will be appreciated.
I really wanted to install all google fonts if I can.
Hi Tom or Leo
I installed simple CSS.
which specific code to copy and paste into Simple CSS if I want all Google fonts install into Typography?
could you please kindly paste code here so I can copy it.
once I paste the code to Simple css, how do I make it apply so the Google fonts are in your Typography.
your help will be greatly appreciated.
If you want All Google fonts, then this is the code you need without any modification:
add_filter( 'generate_number_of_fonts','tu_show_all_available_google_fonts' );
function tu_show_all_available_google_fonts() {
return 'all';
}
You need to use Code Snippets: https://docs.generatepress.com/article/adding-php/#code-snippets
Not Simple CSS.
Hi.
So I just past the code you gave into snippets?
Anywhere is fine?
You need to create a new snippet, copy and paste in there, then click Save and Activate.
Ok, I’ll try to to follow your instructions.
Thanks for your help.
No problem :)
hi Leo,
it works, all fonts are in.
thanks a million, with your simple dummy instrcutions,
i could do with ease.