WordPress 3.2.1: How to change admin theme – font for HTML editor

By Jamie Pert - Jul 30, 2011

Earlier this month WordPress 3.2.1 was released and the download included some small, but visual changes. As a writer I was not too happy when I noticed that the default font which displays in the HTML editor had been changed to something which was not easy on the eye.

We have now heard lots of complaints about this, therefore we thought we would write a simple how to guide which tells you exactly how to modify change the font to something a little more desirable, the procedure is pretty simple and involves editing the functions.php file. If you do not know how to do this the easiest way to do this is to login to your site’s WordPress dashboard, on the left hand side you will see “Appearance”, click on this and then you should see “Editor” click on that and you are almost there. On the right hand side you will see a long-list of .php files which you can edit, here you should see a functions.php file (it may appear under “Theme Functions” click on it and you can begin editing your functions.php file. Note: The image below may make things a little clearer.

Scroll right down to the bottom of the functions.php file and then simply insert a little bit of code (see below), if you don’t want to write this out manually simple go to this website and click “Copy”, you can then paste it into the bottom of your functions.php file. Once you have done this simply click “Update File” and if all has gone to plan you will have changed the font.

You can choose a different font family if you want, however we think that Tahoma, Verdana ,Arial and Helvetica are great fonts which should not strain your eyes too much. Feel free to let us know if this simple guide worked for you in the comments section below, if not leave us a comment and we will do our best to help you.

Follow us on Facebook, Twitter or Google Plus.

Also See: EWWW Image Optimizer WordPress plugin ideal for PageSpeed

  • Egandalph

    Sorry, I was talking about the tag “pre” (I wrote this with  “” and the system erase them in the previous message)

  • Egandalph

    Thanks. Another strange new behaviour is that, when copied from, say, notepad++, the tag “” appears at the beggining and at the end (as “” of course) of the article. Anybody knows a solution for that? (apart from erased these tags, I mean)