rockdirector
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Adobe font not loading in block editorI am having the same issue with Adobe/Typekit fonts loading in the front end (I am using FontsPluginPro) but not in the block editor. It is driving the other editors crazy.
Sound like you’ve loaded the font files all right, but you still need to apply CSS font-family styling to the elements that should use the font. Such rules are typically enqueued as admin styles, but if your rules are fairly limited you could cheat a little and output your rules directly into a?
<style>
?block from the “admin_print_styles” action hook. When adding an action callback, use the $priority arg to manage where your style block falls in relation to other style output.I am wondering if @bcworkz or anyone else would be willing to explain that process as more of a step-by-step tutorial for us less experienced WP builders?
Thanks!
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Custom Fonts (Adobe Fonts) in EditorI should clarify that I have never had a problem using WPCode lite to append Adobe Fonts CSS to the public-facing site. The issue remains being unable to view those fonts in the editor.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Custom Fonts (Adobe Fonts) in EditorThis issue does not appear to be resolved at all.
As @acwaterston noted here Adobe fonts are not licensed for local use. They need to be linked via css:
<link rel=”stylesheet” href=”https://use.typekit.net/foobar.css”>
The resulting fonts are not accessible from the Appearance > Manage Theme Fonts tab
Could @thelmachido please provide further instruction or point to documentation for what the steps are for actually configuring create-block-theme so that Adobe fonts can be used?
Thanks!