<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: Writing custom CSS to an external style sheet based on theme options</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: Writing custom CSS to an external style sheet based on theme options</description>
<language>en</language>
<pubDate>Tue, 24 Nov 2009 15:38:39 +0000</pubDate>

<item>
<title>sjthomas on "Writing custom CSS to an external style sheet based on theme options"</title>
<link>http://wordpress.org/support/topic/263435#post-1050210</link>
<pubDate>Sun, 19 Apr 2009 18:49:20 +0000</pubDate>
<dc:creator>sjthomas</dc:creator>
<guid isPermaLink="false">1050210@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I've added some options to a theme I'm writing allowing the user to specify various different colours for various different elements.  I'm looking for a way to write these to an external stylesheet as opposed to hooking into the header and loading them in the head in style tags on each page (for obvious reasons).  I've done something similar before using a style.php file that sets the header to text/css and linking to it, but that requires including the wp-config.php file which can't be relied on any longer.&#60;/p&#62;
&#60;p&#62;Is there any way to achieve this style / content separation for these options?  I've seen other themes use completely seperate stylesheets depending on the user options, but the options I've added/want to add are too granular for that to work.&#60;/p&#62;
&#60;p&#62;Any help is much appreciated.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
