Changing WordPress editor font

Posted on February 9th, 2011

We can change the wordpress post edittor font by tweaking some codes to wordpress template file function.php

here come the code.

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

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

Tags: , ,