Support » Theme: Atomic Blocks » Anomaly around heading font settings

  • lendbert

    (@lendbert)


    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.

Viewing 1 replies (of 1 total)
  • lendbert

    (@lendbert)

    I was wrong. Frank Ruhl Libre is the serif font, so if Serif selected in WordPress, this font loaded by atomic_blocks_fonts_url function.

    Sorry, I was a little bit tired yesterday.

Viewing 1 replies (of 1 total)
  • The topic ‘Anomaly around heading font settings’ is closed to new replies.