to mark/t31os
-
I saw the post from a while back were the question was asked. “how to change the font and font size in the txt editor”. Your reply is below. I don’t know were to find the theme’s functions.php file. I am a fairly new newbe to WordPress.
———————
Plonk this is your theme’s functions.phpAfter the very top <?php, create a new line and paste the following code in, then save.
add_action( ‘admin_print_styles-post.php’, ‘my_admin_css’ );
add_action( ‘admin_print_styles-post-new.php’, ‘my_admin_css’ );
function my_admin_css() {
?>
<style type=”text/css”>
#editorcontainer textarea#content { font-size:130%!important }
</style>
<?php
}The function will print out the additional CSS on the pages where you write posts only (so it’s not loading on every admin page), and applies a font size increase … adjust as required..
Hope that helps..
The topic ‘to mark/t31os’ is closed to new replies.