-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Google Fonts #48
Comments
I'm super sympathetic, given my love of fonts. Here is an example file that goes in ollie/styles/something.json. I then select it in Site Editor. You can see it in action, with Ollie as the style, at https://senexrex.com. I just put it up today. There is a Google font called "Source Sans 3" in here (and a couple of purchased downloaded fonts). All the fonts are pre-downloaded, which is something the Wordpress folks want us to do to conform to GPRS privacy rules. If you are in the US, you can use Google's web fonts, but it might increase download time. So you have to stick those in the mentioned files. I spent a week looking up how to use all this stuff, and experimenting. Let me know if you get stuck, and I'll see if I can point you to a website to explain more. There is a sequence of steps to enable this style set on the site, in images at the end of the file. File ollie/styles/mindfulagility.json:
|
Wow, thank you for this thorough and extremely helpful reply! This is great, I did exactly this but with my own fonts and it's working for me. Would still love to see a way for this to be easier/more user-friendly. |
Hi @stephenhutson and @greening, I have create my own solution that work very well with Gutenberg editor. I hope you will find it useful. The repository: https://github.com/orgrosua/yabe-webfont or you can download directly from WP repository under the name "Yabe Webfont" |
I'm fairly new to working with the new block editor, so forgive me if this is too newbie of a question.
I have a couple of different Google Fonts I'd like to use, but the only options I see in Ollie are "Inter" and "Monospace".
I installed a plugin to give me access to Google Fonts but that doesn't seem to work when I edit the page via the block editor or through Ollie's templates.
I can't find any documentation from OllieWP about how to install custom fonts or use Google Fonts, so I'm coming here. What am I missing?
The text was updated successfully, but these errors were encountered: