Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

CSS class names in the Content Editor


Reply

3 Posts   1554 Views

Avatar
KatB

15 April 2008 at 6:18pm Community Member, 94 Posts

In the content editor itself, you can create tables in your pages. You can right click and change properties for the whole table, the table row and the individual table cell.

One of the properties is class name.

Where on earth do these class names go? In the online demo version you can change the table cell to mceContentBody, and searching high and low for this, I find it as body.mceContentBody in editor.css.

For our users to change the class, should the classes be defined in editor.css, or if not, where?

Avatar
Willr

15 April 2008 at 7:35pm Forum Moderator, 5511 Posts

Typography.css. This file is designed for things like this styling to be available on both the front end and backend. Editor.css should include typography.css by default too.

Avatar
KatB

16 April 2008 at 3:54pm Community Member, 94 Posts

Actually, I stuck it into editor.css and it worked!