Archived topic
Default Font always -apple-system
9 replies · Started by Don on February 13, 2022
This is driving me nuts. I have looked through all the forums. I have changed my default fonts, but no matter what I do I keep getting -apple-system as the default font. I have tried different fonts, open sans, georgia on a windows system. The last time was that I set them all to inherit. I add new page and "-apple-system" is always the default.
I do not think I should have to put custom CSS in if I set a default font within the font manager. Where is it getting it from if not the font manager? What am I missing?
Thank very much!
Hi Don,
Are you using the Classic Editor?
If so, this should help: https://docs.generatepress.com/article/classic-editor-styling/
It should revert things to the way it was before WordPress 5.9 and GP 3.1.3.
Let us know :)
Tom,
Thank you for the quick reply. However it doesn't appear to do anything. I put the code in my generatepress_child theme's functions.php. I haven't noticed any change after messing with it. Did I put it in the correct place?
That's the correct place. Can you try the updated code in that article?
Let me know :)
Tom,
I did before I replied. Here is it is in the functions.php of the child theme through the dashboard:
// Begin allow generatepres classic editor to work
add_filter( 'generate_editor_styles', function() {
return array( 'assets/css/admin/editor-style.css' );
} );
// end allow generatepress classic editor
I've updated it with a small change that should fix it: https://docs.generatepress.com/article/classic-editor-styling/
Shouldn't the end bracket be after the close paren?
The code in the article is correct and confirmed to be working :)
That got it Tom, thought something was off. Works like a champ!! Thank you.
Glad I could help :)