Default font size

Posts [ 9 ]

Topic: Default font size

Could someone please point me in the direction of a help file or forum post which details how to change the default font size in the editor? I have been unable to find this in the documentation and other forum posts on the topic seem to be overly complicated or they don't work.

Re: Default font size

Strangely enough I found that the only way this worked was to change the editor content CSS file location to a custom location. In other words, editing the default CSS file did not work but making an exact copy and changing the location did work.

For example, in the chunk of Javascript code that you have in your page header, put this line:

content_css : "/css/editor_content.css"

And place the 'editor_content.css' file in to a '/css' sub-directory of your document root.

I added the line below as well;.mceContentBody p { font-size: 1.2em !important; }/* FF requires a important here */

This seemed to catch the "default font size", but there are still catches. 1. do not use the same filename for content.css and your sites css as listed in the content_css init section. 2. Watch out for existing content with spans, and other types of formatted content.

I still see some initial formatting for the text size that then changes immediately to what I want upon load of tiny's tool bar.Also - this did not happen in versions prior to 3.22 - I did not have to change the default font to make things usable.