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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Customizing CMS editor for specific sub-tabs


Go to End


1297 Views

Avatar
Arctos

Community Member, 3 Posts

13 October 2010 at 12:35pm

I'm currently working on a project that has a grid of four different colored boxes displaying on page. Through the controller, each one of the boxes is assigned an individual tab on the CMS ('Main', 'TanBox', 'RedBox', and 'BlackBox', respectively) so that the boxes could dynamically open or collapse depending on whether or not there was content in them. To give the CMS a more WYSIWYG feel, I modified the Editor.css and Typography.css to match the first box, and things worked well for the main HTML edit tab.

Where I'm having trouble, is overwriting the Editor.css attributes to style the other tabs.

What specific syntax is required to individually style, each of the tabs? I've tried specifying through a variety of various classes, iframes, td's, and div's, but none are recognized.