-
Notifications
You must be signed in to change notification settings - Fork 357
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
Livro: Newsreader font is no longer loaded #5705
Comments
Thanks for the report, we just made the switch to load the fonts via theme.json since Gutenberg was upgraded, my guess is this is an artifact of some caching. Newsreader is loading on the demo site, so I'm going to close this: |
@jffng Font still not loading even with caching disabled on the site and it's running the latest version of the theme (1.0.9). There is no reference in the source code to the WOFF files. If I look at the documentation for theme.json, there is no reference that the src attribute is supported for |
The Webfonts API was recently added WordPress/gutenberg#37140, and the theme.json documentation needs to be updated accordingly. This feature is not in core yet, are you running the Gutenberg plugin? |
No, I'm using the Theme directly from https://wordpress.org/themes/livro/. The Gutenberg plugin is highly unstable and often breaks functionality, so it's not possible to use it on a production site. I'm guessing that this issue is happening for the 200+ other non-WordPress.com users too, unless they're using the plugin. |
Steps to replicate
The Newsreader font is still defined in CSS but the font file/s are no longer loaded.
Result
The website typography appears in the standard browser fallback serif font.
Expected
The Newsreader fonts in the assets folder should be loaded by the theme.
The text was updated successfully, but these errors were encountered: