Jump to:

23576 Posts in 19403 Topics by 2893 members

General Questions

SilverStripe Forums » General Questions » Don't load Typo and Form CSS

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

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

Page: 1 2
Go to End
Author Topic: 1998 Views
  • suntrop
    Avatar
    Community Member
    131 Posts

    Re: Don't load Typo and Form CSS Link to this post

    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

    1998 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.