Tinymce font size not working

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
pcp20us

Tinymce font size not working

Post by pcp20us »

Hi Guys It seems fonts size 10,11,12,14 produce all the same size font, in tinymce. If i change to font size 18 its to big.

I have reseached but not to clear what i need to modify to get this to work.

I would be happy to simply set the default font size to 12, is this possible.

Or i have read i need to modify a .ccs sheet, for tinymce but not sure where this file is.

Any help would be great, thanks
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Tinymce font size not working

Post by velden »

What exactly is the problem?

Do you expect the font sizes to change visually in the editor itself?
Does it change on the website itself?
If you look at the source/html code in the TinyMCE editor, do you see the proper tags?

TinyMCE itself is also influenced by the css you apply on templates (maybe some reset css used somewhere?).

You can override those definitions in your css by using (e.g.):

body#tinymce {color : #ff0000 !important;}
body#tinymce p {margin-bottom : 1em;}
etc.

Note that Tinymce is NOT the default editor for the latest versions of CMSMS. MicroTiny that is.
(M)
Forum Members
Forum Members
Posts: 118
Joined: Tue Mar 18, 2008 11:43 pm

Re: Tinymce font size not working

Post by (M) »

To exclude a CSS reset from TinyMCE or MicroTiny make a traditional reset.css file and place it in the File Manager. In a folder named; css

Place this in your template (above {cms_stylesheet} ! )

Code: Select all

<link rel="stylesheet" href="uploads/css/reset.css">
Post Reply

Return to “The Lounge”