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.

Content Editor Discussions /

Forum for content editors and CMS users.

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

Solved: Editor not loading editing CSS (editor.css)


Go to End


2 Posts   3607 Views

Avatar
gman

Community Member, 11 Posts

17 August 2010 at 7:52am

Edited: 17/08/2010 8:09am

I had installed my themes incorrectly so the editor did not load the editor.css file. I have installed the themes correctly and now the editor loads the editor.css file.
---------------------------
I added some additional themes. I copied the editor and typography css files from the default themes to the added themes in the css folders. I can't get the editor to load the styling classes from the added themes, I can only load editing styles from the default themes blackcandy and tutorial. Anyone else have this problem? I've flushed the cache several times, didn't help.

Avatar
Bambii7

Community Member, 254 Posts

18 August 2010 at 2:33pm

Took me a while to understand how this was happening. Basically if you have a editor.css file in the theme SS admin will pick up on this and load it.
If you look at the blackcandy editor.css file you'll see @import "typography.css";
But you can just code the styles directly in there. You'll need to make sure Layout.css also has the same styles to be rendered on the front end.