change Visual Editor Font Size without wordpress plugin

wordpress tutorial for, change Visual Editor Font Size without wordpress plugin. need to open your functions.php file and put following code in that file.

change Visual Editor Font Size without wordpress plugin

change Visual Editor Font Size without wordpress plugin

change Visual Editor Font Size without wordpress plugin

You need to open your functions.php file and put following code in that file.using following code you can change the font size of editor.

Note: If you are not having knowledge of wordpress code and php then dont use  the code.

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: 2em !important } </style> <?php

 

Add a Comment

Your email address will not be published. Required fields are marked *