Change the default font in the text editor

Case

Well-known member
Hi guys

How do you change the font of the text editor? Is there a css class somewhere that controls it? I've tried 'body#tinymce.mceContentBody' but that didn't seem to work.

Thanks
 
not sure what you mean, the text as you type into the editor ? Below might work adjusting it to your preferred colour and font style

Code:
body, body.mceForceColors {
    color: red;
    font-family: Georgia,"Times New Roman",Times,serif;
}

Edit: nope the code i provided doesn't work.
 
No, that's what I'd been trying.

Finally found it though, I needed to edit 'editor_contents.css'

Thanks for the reply anyway.

Good to know. I must have been at this for 2 hours trying anything and everything to change the font colour via extra.css, obviously to no avail. Good to hear you got this fixed.
 
Back
Top Bottom