- This topic has 7 replies, 3 voices, and was last updated 1 year, 5 months ago by
Tom.
-
AuthorPosts
-
December 31, 2020 at 6:03 pm #1601172
Anthony
so i have followed the steps in the forums to add a google font locally twice. but it seems i have a problem somewhere…. i downloaded the font from the tool provided in the tutorial, i uploaded the font to the child theme in the fonts folder. i added the css and php code snippets everything looks good. in customizer i am able to choose the Oswald font i uploaded, in customizer view everything looks good. but when i leave customizer the font doesnt display. when i return to customizer the view is fine again but the theme reverted back to the google font even after multiple tries to save the local font.i have also turned off load google fonts in auto-optimize as i am using a local font. i cleared my cash and tried disabling all the plugins and no effect
January 1, 2021 at 11:21 am #1601883Leo
StaffCustomer SupportHi there,
Where is the font used?
I’ve looked at a couple of places and am seeing Verdana for everything.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 1, 2021 at 5:37 pm #1602114Anthony
Hi leo. Sorry about that. I recieved a notification from gtmetrix that my ite speed had changed. When i logged in to check what was going on gtmetrix was no longer able to finish the test. While trouble shooting i switched out the locally selected oswald fon that i added to the built in verdana font and my score was back up to ots regular 93%. So it seems i have some serious error somewhere. Also as i said no matter how many times i select oswald locally it always reverts back to the google font. In customizer it views fina and in realworld it doesnt seem o be the same.
I have switched back o the locally selected oswald font and cleared all my caches. Sorry for the inconvenience.
January 2, 2021 at 10:27 am #1602901Leo
StaffCustomer SupportOk just to make sure we are all good one this?
I’m seeing Oswald displayed correctly now:
https://www.screencast.com/t/JvHyrujsv8Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 2, 2021 at 5:15 pm #1603168Anthony
here is a link with images, as you can see in the link the two images are not the same as i selected in cutomize,,, also cusomtize view still shows as google font selected not local font.
January 3, 2021 at 11:30 am #1604042Tom
Lead DeveloperLead DeveloperHi there,
When adding the local font, have you tried naming it something else? “Oswald Local” is probably a good choice – that way the option won’t get confused with the actual Google font.
Let me know 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 3, 2021 at 7:00 pm #1604315Anthony
thanks that solved the problem!
January 4, 2021 at 11:11 am #1605402Tom
Lead DeveloperLead DeveloperNo problem!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.