• How do you change the post editor font? Specifically the HTML editor tab? I would like to put a monospace font in there so it is nicer when putting monospaced code in my blog. Perhaps something with TinyMCE? Any direction would be great!

    Thank you!

    -HoboDan

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter hobodan

    (@hobodan)

    I forgot to add that this is wordpress 2.7. Also, I tried changing the font styles here:

    wp-includes > js > tinymce > wordpress.css

    more specifically, this portion:

    body.mceContentBody {
            font: 13px/19px Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
            padding: 0.6em;
            margin: 0;
    }

    But it did not work. I even cleared the browser cache and no luck.

    This works perfect for the visual tab, but no luck for the HTML tab.

    Thanks again

    -Dan

    Now it’s in /wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css

    Added to tinyMCE updated editor. Nothing worked when posted.

    I added a ‘font’ folder to my theme and added the font file to it (not in the font folder, just the font itself).

    Works perfectly.

    sorry: sounds confusing as heck. I added the font file itself to my new folder named ‘font’

    Hi,

    I am trying to change the font for the visual editor, but i tried changing the following code in the content.css wp-theme directory:
    https://screencast.com/t/NDhjODY5YzI

    to:

    body.mceContentBody {
    	font: 13px/19px Verdana, "Times New Roman", "Bitstream Charter", Times, serif;
    	padding: 0.6em;
    	margin: 0;
    }

    but with no success, my issue is that my zero’s look too much like the letter “o”

    Here is what the font look like: https://screencast.com/t/NGNkZWE3N

    Any help would be appreciated.

    thanks

    Pat

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing the font for the post editor’ is closed to new replies.