• Hello,

    I need some help:) Can i change the font in the Editor without a plugin?
    Sorry for my English ??

    Greets

    Polonio

Viewing 2 replies - 1 through 2 (of 2 total)
  • A theme is a quick and easy way to give a professional and modern look to an entire 2007 Microsoft Office system document. A document theme is a set of formatting choices that include a set of theme colors, a set of theme fonts, and a set of theme effects. If you want to change fonts or line spacing in your 2007 Microsoft Office system documents, see:

    Double-space the lines in a document

    Adjust the spaces between lines or paragraphs

    Change the font or font size in Excel

    Change the font size

    Change the default font or text color for email messages

    Hello @polonio1984,

    It is possible to change the font in the WordPress Editor without a plugin. This will require some knowledge of the CSS and PHP language.

    – You can edit the ditor-style.css stylesheet (not suggested because after the WordPress update your changes will be lost)
    – Create new editor-style.css file, add all the changes you need and load it with PHP function

    // Connect the WordPress post editor to your custom stylesheet
    function my_theme_add_editor_styles() {
      add_editor_style( 'custom-editor-style.css' );
    }
    
    add_action( 'admin_init', 'my_theme_add_editor_styles' );

    The code above needs to be added inside the functions.php file of your theme, preferably a Child theme.

    I ‘ve found some articles with detailed instructions that may help you:
    https://premium.wpmudev.org/blog/emulate-wordpress-front-end/
    https://www.wpbeginner.com/wp-tutorials/how-to-add-custom-styles-to-wordpress-visual-editor/
    https://www.babshobbs.com/change-font-wordpress-visual-editor/

    Hope this helps!

    Cheers,
    Nastia

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How i can change to a another Font’ is closed to new replies.