Forums

Changing the font for the post editor (5 posts)

  1. hobodan
    Member
    Posted 7 months 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 7 months 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 3 months ago #

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

  4. mebsy
    Member
    Posted 3 months 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 3 months ago #

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

Reply

You must log in to post.

About this Topic