[TYPO3] RTE custom styles

A.Neves acseven at hotmail.com
Wed Oct 25 02:48:58 CEST 2006


Hi,

 

 

I have been searching for archived references that would help me sort this
out, but it always seems to be missing something.

 

I want to put custom styles on the RCE. So here's what I've done so far:

 

1.	Entered my site's root page properties. There I placed the following
line in that page's TSconfig:

 

RTE.default.contentCSS = fileadmin/templates/main/css/editorstyles.css (this
is a copy of the dynamiccss.css file)

 

            The path is correct from my POV because I messed around with
some of the css and saw the changes in the RTE htmlarea.

 

2.	First question: I can see the changes in the RTE, but when I open
the page in the browser, it does not recognize the css file (I checked the
html of the page, and the classes are there, so it's the css file that is
not correctly referenced). How can I correct this?

 

3.	Second question: Suppose I want to add in my css file a new style
and I create it with something like p.small-text { font-size: 0.7em } . What
more do I need to do to make it appear in the RTE's drop down list!?

 

 

Thank you in advance,

A.Neves




More information about the TYPO3-english mailing list