HOw to use styles in pages

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Alfman66

HOw to use styles in pages

Post by Alfman66 »

Hello everyone.

First of all i'm a newby so possbly i overlooked something. I searched the forum but could not find the answer.

I would like to add my CSS styles to the WYSIWYG editor. After opening the page (in the editor) however no styles are shown.
I made a template and linked the CSS to it (from the styles menu). In content I create a new page based on my template.

I tried with both FCKeditorX as well as tinyMCS.

What do i do wrong?

Thank for the help in advance.

Alfman
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: HOw to use styles in pages

Post by Dr.CSS »

For FCKeditorx you need to go to Extensions » FCKeditorX on the second tab, styles, put your styles in the textarea and read the little note above it, the style you want needs to be in a stylesheet attached to the template you are using on that page...
Alfman66

Re: How to use styles in pages

Post by Alfman66 »

Hi,

Thanks for the response. I tried that, but it then only gives back the styles from the news section. My 'normal' styles are not there.

Regards,

Alfman
marcgeldon
Forum Members
Forum Members
Posts: 45
Joined: Mon Aug 14, 2006 1:13 pm

Re: HOw to use styles in pages

Post by marcgeldon »

Hello!

I have the same problem. If someone is interested to see that in a demo enviroment (maybe this can help the developers), just contact me.


Best wishes,

Marc
heatherfeuer

Re: HOw to use styles in pages

Post by heatherfeuer »

I also noticed that too.  However, I use a lot of contextual style types and FCK Editor doesn't pick those up, it only picks up actual classes.  If you look at the styles available in FCK Editor, you will notice that.  I haven't tried manually adding the styles through the module manager though.
Mesmer

Re: How to use styles in pages

Post by Mesmer »

Alfman66 wrote: Hi,

Thanks for the response. I tried that, but it then only gives back the styles from the news section. My 'normal' styles are not there.

Regards,

Alfman
Did you copy the full style code from the stylesheet you are using in FCKeditorX?
heatherfeuer

Re: HOw to use styles in pages

Post by heatherfeuer »

I think I tried that once, but it didn't work.  Anyway, there are only certain styles that I'd want the creators of content pages to have, not ALL the styles in use on the page.  As an alternative, I may create a separate set of styles for the content block only that editors can use.
Locked

Return to “Modules/Add-Ons”