This project is read-only.

Why isn't there a zone for external style sheets and scripts?

Topics: Customizing Orchard
Feb 26, 2015 at 9:30 PM
I find myself trying to make a zone where I can attach references to style sheets, for example,

<link rel="stylesheet" type="text/css" href="/Media/Default/CSS/test.css">

This way, styling can be controlled controlled from the CMS. Is there something wrong with this idea?

Is there a more elegant way to control style from the CMS? Ideally, I would have a CSS widget where I could input styles directly, and the content would be rendered as an external style sheet. I'm not sure how to do that though.

I have been doing this by creating an html widget and putting my styles in that, but the problem is that the CSS isn't rendered as an external document in the head, which bothers me.
Feb 27, 2015 at 7:00 PM
You can use Vandelay Industries for this. The Classy feature in there will let you add stylesheets and scripts.