How to change WordPress editor font

Paste the following code into your theme functions.php file:

function change_editor_font(){
        echo "<style type='text/css'>
#editorcontainer textarea#content {
  font-family: Monaco, Consolas, \"Andale Mono\", \"Dejavu Sans Mono\", monospace;
  font-size:14px;
  color:#333;
}
</style>";
} add_action("admin_print_styles", "change_editor_font");

Save the file, then look at the editor :) It simple as that.

Thanks to Metin Saylan for the cool tip!

Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!

How to change WordPress editor font

Leave a Reply

Your email address will not be published. Required fields are marked *