Anomaly around heading font settings
-
There is a little anomaly around the font settings (theme version: 1.2.3).
In style.css default font for heading is Muli, fallback is Nunito Sans. Muli isn’t set in editor-style.css.
In block-editor.css there’s a font-family setting with Frank Ruhl Libre, and in rtl.css heading font is Poppins, but there is no loading code for these Google fonts in functions.php (atomic_blocks_fonts_url function).
customizer.php generates the inline style code what overrides the default CSS settings. In atomic_blocks_css_output function font-family setting kills Muli to Nunito Sans, if Sans Serif selected in WordPress. If Serif selected, everything is ok (this font used for headings and other texts too).
The last problem is easy to solve with logical separation (font-family settings and everything else) in atomic_blocks_css_output function.
- The topic ‘Anomaly around heading font settings’ is closed to new replies.