JCE Dropdown Styles Box Not Working

Discuss the development and implementation of Joomla! bots/Plugins here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
alasitis
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Fri Aug 15, 2008 5:13 am

JCE Dropdown Styles Box Not Working

Post by alasitis » Sat May 21, 2011 9:49 pm

SOLUTION (At least for me)

After two days of searching for an answer to why template styles (classes) were not working in the JCE editor, this is the first one that worked. Also, the Styles dropdown box did not drop down and now everything is working fine. The solution came from Jenny, a Joomla guru or wizard or whatever. The point is, she got it right. Here's what she said:
You would have to set the editor.css file to be the custom css file you are loading with JCE. This is under JCE Administration -> Configuration located in the Formatting section.

You should set your Use Template CSS to "No" and Custom CSS file to "templates/$template/css/editor.css" (no quotes). When after you save that you should see your editor.css style selections.
I did it and it worked ... hope it does for you.

One last thing: If there is no editor.css file in your template/css folder, you can easily create one with Notepad or similar text editor. Just list the classes that your template supports like this
.box {}
.check {}
.arrow {}
Just make a regular (vertical) list of them and save the file as "editor.css" then add it to your template/css folder. Then do what Jenny recommended above.

Locked

Return to “Plugins/Mambots”