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.

General Questions /

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

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

Don't load Typo and Form CSS


Go to End
Reply


9 Posts   2388 Views

Avatar
suntrop

Community Member, 136 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