# The right way to do CSS in Radiant?

**URL:** <https://www.ruby-forum.com/t/the-right-way-to-do-css-in-radiant/80563>\
**Category:** Radiant CMS\
**Created:** [December 28, 2006, 6:02pm UTC](https://www.ruby-forum.com/t/the-right-way-to-do-css-in-radiant/80563 "2006-12-28T18:02:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nolic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/13edae/32.png) [@nolic](https://www.ruby-forum.com/u/nolic)\
**Post date:** [December 28, 2006, 6:02pm UTC](https://www.ruby-forum.com/t/the-right-way-to-do-css-in-radiant/80563/1 "2006-12-28T18:02:50Z")

</div>

Hi,

I am trying to set up CSS correctly in Radiant. I have seen two ways  
to do it. One is to upload a CSS file into the stylesheets directory.  
The other is to make a “style” page and use that as the stylesheet.  
When I create the style page using the default CSS - http://  
[method7systems.com/styles.css](http://method7systems.com/styles.css) it loads fine. However, when I call it  
from within a radiant template, it does not. You can see how it is  
loaded at [http://method7systems.com/](http://method7systems.com/) - . Help is much appreciated!

Thanks,

Colin N.

---

<div class="post-metadata">

**Author:** ![nolic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/13edae/32.png) [@nolic](https://www.ruby-forum.com/u/nolic)\
**Post date:** [December 28, 2006, 6:14pm UTC](https://www.ruby-forum.com/t/the-right-way-to-do-css-in-radiant/80563/2 "2006-12-28T18:14:55Z")

</div>

Colin N. wrote:

> I am trying to set up CSS correctly in Radiant. I have seen two ways to  
> do it. One is to upload a CSS file into the stylesheets directory. The  
> other is to make a “style” page and use that as the stylesheet. When I  
> create the style page using the default CSS -  
> [http://method7systems.com/styles.css](http://method7systems.com/styles.css) it loads fine. However, when I call  
> it from within a radiant template, it does not. You can see how it is  
> loaded at [http://method7systems.com/](http://method7systems.com/) - . Help is much appreciated!

Did you create a CSS layout for use with stylesheets with the content  
type set to “text/css”?

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![nolic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/13edae/32.png) [@nolic](https://www.ruby-forum.com/u/nolic)\
**Post date:** [December 28, 2006, 6:20pm UTC](https://www.ruby-forum.com/t/the-right-way-to-do-css-in-radiant/80563/3 "2006-12-28T18:20:59Z")

</div>

Colin,

Make sure that you edit the slug for your ‘styles’ Page (in Radiant) to  
be ’  
styles.css’. You can find the slug if you click “More” underneath the  
title  
of the page.

Cheers,

Sean C.  
[seancribbs.com](http://seancribbs.com)
