Forums

Changing the font for the post editor (6 posts)

  1. hobodan
    Member
    Posted 2 years ago #

    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

  2. hobodan
    Member
    Posted 2 years ago #

    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

  3. romu
    Member
    Posted 2 years ago #

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

  4. mebsy
    Member
    Posted 2 years ago #

    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.

  5. mebsy
    Member
    Posted 2 years ago #

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

  6. psaad
    Member
    Posted 1 year ago #

    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:
    http://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: http://screencast.com/t/NGNkZWE3N

    Any help would be appreciated.

    thanks

    Pat

Topic Closed

This topic has been closed to new replies.

About this Topic