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.


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

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

What's the justification for including a theme's typography.css file in the CMS?


3 Posts   2071 Views


23 October 2007 at 1:48am (Last edited: 23 October 2007 1:50am), Community Member, 18 Posts

After creating a new theme for my Silverstripe powered site, I noticed that the text and hyperlink colours in the CMS administration panel were all skewed.

After poking around, I recognised that CMS was pulling the typography.css file from my theme. Subsequently, this resulted in abnormally large text and unexpected colours while browsing the administration interface.

I'm interested to hear the justification for doing this. I was under the impression that published site and administration panel were entirely different.

At any rate, you can prevent this happening by commenting out line 68 in cms/CMSMain.php with SS 2.1.


23 October 2007 at 4:23am Forum Moderator, 801 Posts

its basically a way of not repeating style-rules given in some "sandbox"-rules.
see for a more in-depth explanation.


23 October 2007 at 1:29pm Community Member, 18 Posts

Okay, I understand what you're doing. Thanks Ingo.