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, Ed, biapar, Willr, Ingo

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

Go to End

3 Posts   2503 Views


Community Member, 18 Posts

23 October 2007 at 1:48am

Edited: 23/10/2007 1:50am

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.


Forum Moderator, 801 Posts

23 October 2007 at 4:23am

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


Community Member, 18 Posts

23 October 2007 at 1:29pm

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