Default font in the editor

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Sasni
Regular
Posts: 18
Joined: Wed Nov 10, 2010 9:36 pm
Location: Poland
Contact:

Default font in the editor

Post by Sasni »

Is it possible to set the default font and font size in the editor? I use Xinha.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Default font in the editor

Post by Timbalu »

Not really!
If you know about inline css you can use css rules in xinhas html code view for the content entry part you are writing.
The default font is set in the css classes of the default fallback template and can be overridden by your own templates style.css or user.css file. This is not really bulletproof, while some templates overwrite this directive by default. So you could install Firefox firebug plugin and look where it is done in your case.

Code: Select all

body {
    background: none repeat scroll 0 0 #FFFFFF;
    color: #000000;
    font: 100.01% Verdana,Arial,Helvetica,sans-serif; /* change here default font */
}
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Post Reply