Created
June 27, 2013 20:32
-
-
Save WebEndevSnippets/5880133 to your computer and use it in GitHub Desktop.
WordPress: Change Font in HTML Editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'admin_head-post.php', 'webendev_fix_html_editor_font' ); | |
add_action( 'admin_head-post-new.php', 'webendev_fix_html_editor_font' ); | |
/** | |
* Change Font in HTML Editor | |
* | |
*/ | |
function webendev_fix_html_editor_font() { ?> | |
<style type="text/css">#wp-content-editor-container #content, #wp_mce_fullscreen { font-family: Verdana, Geneva, sans-serif; }</style> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment