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   1625 Views

Avatar
KatB

Community Member, 94 Posts

15 April 2008 at 6:18pm

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

Forum Moderator, 5513 Posts

15 April 2008 at 7:35pm

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

Community Member, 94 Posts

16 April 2008 at 3:54pm

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