Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2801463
How to change the font for Gutenberg editor?
Closed

Comments

  • LazyBit started the conversation

    Hi dev,

    Any way to change the font for Gutenberg editor? Please check.

    I would like it to be the same as font for body text. Please check.

  •  2,615
    PenciDesign replied

    Hi,

    Please go to Appearance > Theme Editor, Select theme to edit: Soledad, then points to:

    inc/gutenberg/style.css

    Find line 9 with content:

    .wp-block,
    .editor-styles-wrapper, .wp-block p,
    .editor-styles-wrapper p.wp-block-paragraph,
    .editor-styles-wrapper p.block-library-list,
    .editor-styles-wrapper .mce-content-body p {
        font-family: 'PT Serif', serif;
        color: #313131;
        font-size: 14px;
    }
    Change font-family properties to your font, for example:

    .wp-block,
    .editor-styles-wrapper, .wp-block p,
    .editor-styles-wrapper p.wp-block-paragraph,
    .editor-styles-wrapper p.block-library-list,
    .editor-styles-wrapper .mce-content-body p {
        font-family: 'Open Sans', serif;
        color: #313131;
        font-size: 14px;
    }
    U7VxvBo.png

    Regards,
    PenciDesign.


  •   LazyBit replied privately
  •  2,615
    PenciDesign replied

    Hi,

    I've edited your site. The problem because your "Open Sans" not installed on your PC.

    Regards,
    PenciDesign.

  • LazyBit replied

    Fast and perfect fix, thank you for your great support.