<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Design Shack &#187; theme</title>
	<atom:link href="http://designshack.net/tag/theme/feed" rel="self" type="application/rss+xml" />
	<link>http://designshack.net</link>
	<description>Inspiration, CSS Gallery &#38; Community News</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Free WordPress Theme: Simple Balance 2</title>
		<link>http://designshack.net/articles/free-wordpress-theme-simple-balance-2/</link>
		<comments>http://designshack.net/articles/free-wordpress-theme-simple-balance-2/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 11:15:38 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[balance]]></category>
		<category><![CDATA[minimal]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://localhost:8888/?p=132</guid>
		<description><![CDATA[Alex, from Blogsessive, has released a minimalist WordPress theme called Simple Balance 2. Full information about the theme and download information can be found over at the release post. Simple Balance features a whole host of customizable options, and it&#8217;s great to see a free WordPress theme offering what usually would be paid for features: [...]]]></description>
			<content:encoded><![CDATA[<p>Alex, from <a href="http://www.blogsessive.com">Blogsessive</a>, has released a minimalist WordPress theme called Simple Balance 2. Full information about the theme and download information can be found over at the release post.</p>
<p>Simple Balance features a whole host of customizable options, and it&#8217;s great to see a free WordPress theme offering what usually would be paid for features:</p>
<ul>
<li>Several colour schemes</li>
<li>Different advertising layouts</li>
<li>The ability to manage adverts from the backend</li>
</ul>
<p><a href="http://blogsessive.com/blogging-tools/simple-balance-free-simple-wordpress-theme/" class="smallbox">Download Simple Balance</a></p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/free-wordpress-theme-simple-balance-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS Style Switcher</title>
		<link>http://designshack.net/articles/css-style-switcher/</link>
		<comments>http://designshack.net/articles/css-style-switcher/#comments</comments>
		<pubDate>Mon, 21 May 2007 13:36:07 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[colour]]></category>
		<category><![CDATA[scheme]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[switcher]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://localhost:8888/?p=485</guid>
		<description><![CDATA[Placing multiple colour or font schemes on your website blog is often an excellent addition, and it can help to customise your look and feel. It&#8217;s easy to add multiple stylesheets to your blog, and ensure that the user&#8217;s selection is stored on their computer so the style remains the same on each page. 1. [...]]]></description>
			<content:encoded><![CDATA[<p>Placing multiple colour or font schemes on your website blog is often an excellent addition, and it can help to customise your look and feel. It&#8217;s easy to add multiple stylesheets to your blog, and ensure that the user&#8217;s selection is stored on their computer so the style remains the same on each page.</p>
<h2>1. Download the styleswitcher javascript file</h2>
<p>You need to download the following file, and make sure that it is included in all the pages you&#8217;d like to run the style switcher.</p>
<p><a href="/postfiles/styleswitcher.js">Download The File</a></p>
<h2>2. Link to the javascript file in your <code><head></code> tag</strong></h2>
<p>Go to the area in your index.php source code, just before the <code></head></code> tag. Enter the following line of text, to ensure that the javascript file is included correctly:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;styleswitcher.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></td></tr></table></div>

<h2>3. Create the various stylesheets</h2>
<p>Make a copy of your main style sheet, and alter the colours and layout to create the new colour scheme for your website. Rename the new style sheet along the lines of &#8220;style-orange.css&#8221;. Do this as many times as required (you can always add more later).</p>
<h2>4. Link to the stylesheets in your header</h2>
<p>For the main, default stylesheet, enter the following just after the line we added above including the javascript file. This ensures that this is the stylesheet that loads when the page is opened for the first time.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;style.css&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;default&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></pre></td></tr></table></div>

<p>For all the other stylesheets you have created, enter a line such as the following, changing the name of the colour for each style sheet you have added. Repeat it for all your additional styles.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;alternate stylesheet&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;style-orange.css&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;orange&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></pre></td></tr></table></div>

<h2>5. Place CSS switcher links in your page</h2>
<p>For each stylesheet you have created, just enter a link similar to the following. This will cause the selected stylesheet for the page to change to the one clicked on in the link. The <code>setActiveStyleSheet(’orange’);</code> part needs to be altered to reflect the <code>title</code> of the alternate style sheets you specified before.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;setActiveStyleSheet(’orange’); return false;&quot;</span>&gt;</span>Orange<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span></pre></td></tr></table></div>

<p>It&#8217;s also a good idea to enter a link similar to the following, in case a visitor wants to switch back to the default stylesheet:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/&quot;</span> <span style="color: #000066;">onclick</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;setActiveStyleSheet(’default’); return false;&quot;</span>&gt;</span>Default<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span></pre></td></tr></table></div>

<p>So there you have it &#8211; an easy and straight forward way to add additional style sheets to your website, giving your visitors a choice as to which colour or layout they see. This method can also be used for adding a high contrast accessible style sheet, which is something recommended for any website.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/css-style-switcher/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 260/273 objects using disk: basic

Served from: designshack.net @ 2012-02-09 16:18:02 -->
