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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Don't load Typo and Form CSS


Go to End


9 Posts   2940 Views

Avatar
suntrop

Community Member, 141 Posts

8 April 2010 at 7:25am

Hi Will.
At this moment I am not that familiar with SS to say I know a better way. However, I think of it as "user" when I code my templates.
It acts a bit strange when I write in my template

<html>
  <head>
  <meta xyz>
  <% require themedCSS(layout) %> 
  <style>
    styles ...
  </style>
  </head

and it outputs …
<html>
  <head>
  <meta xyz>
  <style>
    styles ...
  </style>
  <link rel="stylesheet" type="text/css" href="xyz/css/layout.css?m=1270403152" />
  </head

When I write my styles in the inline style elemnt in <head> they become overwritten by the included css file.

But that isn't a big deal. I have included my CSS file directly in the head section ;)
When I came across a better solution I'll let you know.

Thanks for your help and a cool CMS!
suntrop

Go to Top