I work with WordPress a lot. By nature, I like to fiddle with things too. With that said, I have never been a fan of default font that the WordPress Editor uses. In fact, I can easily say that if I could change it, I would. Well, fear not fellow users, there is an easy way to spruce up your editor with a new font.
To change your WordPress Editor Font add the following to your theme’s functions.php file
[php] // ————————————————————————–// Start Change WordPress Editor Font
// ————————————————————————–
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");
// ————————————————————————–
// End Change WordPress Editor Font
// ————————————————————————–
[/php]
Note: These functions are not of my own creation, simply things I have found along the way. If you are the author of this function, please let me know so I can properly credit you with your work!