Tried editing theme.json also didn’t work. I added these lines exactly below Inter
{
"fontFamily": "Quicksand, sans-serif",
"name": "Quicksand",
"slug": "quicksand",
"fontFace": [
{
"fontDisplay": "block",
"fontFamily": "Quicksand",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/quicksand-v31-latin-regular.woff2"
]
}
]
},
I tried using custom font plugin and other fse theme (neve and raft) and I can see the font. Idk what can I do to make it work with Ollie
Hi there,
You’ll probably want to check out the Create Block Theme plugin to help adding fonts to your theme. It has an interface that let’s you select and add the fonts. It’s similar to the font library that is coming to WordPress 6.5! Adding fonts will be so much easier soon.
Also, keep in mind, if you’re editing the theme to add the fonts, you’ll probably want to do that in a child theme. You can download an Ollie child theme here.
I haven’t tried the Google fonts plugins out there, but you’d need to make sure they work with block themes, which register fonts a little differently.
@mmcalister thanks for the response. If I remember correctly, the plugin you mentioned already in my tried-list, but I’ll try it again later to re-check it.
Thanks for the child theme link, also will check again soon. For now, I’m using spectra builder for the fonts and it worked good. Just, if I want to use another builder, I don’t want to have too many on my site.
Yes, you’re correct about the block theme register fonts differently, because once I use let’s say quicksand and it’s shown in typhography, I can’t really change it, I thought it was caching problem at first, even change the debugging false to true in wpconfig. I guess plugin is the safest bet for non-coding user like me.
@mmcalister thank you for the plugin recommendation. I did it again now with all caching off, and I can see the plugin inside the theme w/o creating a child theme.
Thanks once again for the support, now I’m confident to use Ollie for upcoming project! I’ll make this thread as solved.