Skip to content

Instantly share code, notes, and snippets.

@bishless
Created July 18, 2013 05:48
Show Gist options
  • Save bishless/6026949 to your computer and use it in GitHub Desktop.
Save bishless/6026949 to your computer and use it in GitHub Desktop.
Customize WordPress text/html editor area
function change_editor_font(){
echo "<style type='text/css'>
#wp-content-editor-container textarea#content {
font-family: \"Meslo LG M DZ\", Consolas, monospace;
font-weight: normal;
font-size: 13px;
line-height: 1.5em;
color: #fab00d;
background-color: #222;
}
</style>";
}
add_action("admin_print_styles", "change_editor_font");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment