<?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>Designparc &#187; CSS</title>
	<atom:link href="http://designparc.com/tag/css/feed" rel="self" type="application/rss+xml" />
	<link>http://designparc.com</link>
	<description>Logo design, WordPress customization, Website design, Search engine optimization</description>
	<lastBuildDate>Fri, 30 Jul 2010 07:30:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>WordPress &#8211; Custom Fields To Change Hypertext Link Color</title>
		<link>http://designparc.com/1354</link>
		<comments>http://designparc.com/1354#comments</comments>
		<pubDate>Tue, 08 Jun 2010 10:22:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Custom Fields]]></category>
		<category><![CDATA[Website design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Hypertext Link Color]]></category>
		<category><![CDATA[WordPress Custom Fields]]></category>

		<guid isPermaLink="false">http://designparc.com/?p=1354</guid>
		<description><![CDATA[Scenario: Client wants hypertext links to be white on only one of the Website&#8217;s pages, so they display nicely on the dark back ground. The hypertext links for the rest of the site are fuchsia, via CSS. Problem: Adding hypertext to a WordPress page in Edit Page view, then changing it&#8217;s color to white (so [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Scenario:</strong> Client wants hypertext links to be white on only one of the Website&#8217;s pages, so they display nicely on the dark back ground. The hypertext links for the rest of the site are fuchsia, via CSS.</p>
<p><strong>Problem:</strong> Adding hypertext to a WordPress page in Edit Page view, then changing it&#8217;s color to white (so it displays nicely on a dark back ground on the front-end of the site) makes it impossible to actually see when you&#8217;re trying to edit it in the Edit Page view. Unless you switch to HTML mode &#8211; which is a pain in the ass for the client.</p>
<p><strong>Solution:</strong> WordPress Custom Fields just on that one page.</p>
<p>NOTE: This only works for a WordPress &#8220;page.&#8221;</p>
<p>Here&#8217;s exactly what I did:</p>
<p>1. Add the below PHP to the header.php file, anywhere between the &lt;head&gt; and &lt;/head&gt; tags:</p>
<p>&lt;?php if (is_page()) {<br />
$css = get_post_meta($post-&gt;ID, &#8216;css&#8217;, true);<br />
if (!empty($css)) { ?&gt;<br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
&lt;?php echo $css; ?&gt;<br />
&lt;/style&gt;<br />
&lt;?php }<br />
} ?&gt;</p>
<p>2. Then, in the Custom Fields in your Edit Page view, add the following info:</p>
<p>In the &#8220;Name&#8221; field type: css<br />
In the &#8220;Value&#8221; field type: a:link, a:visited {color: #FFFFFF;} a:hover, a:active {color: #FF00FF; text-decoration: underline;}</p>
<div id="attachment_1355" class="wp-caption alignnone" style="width: 310px"><a href="http://designparc.com/wp-content/uploads/2010-06-08_0304.png" rel="lightbox[1354]"><img class="size-medium wp-image-1355" title="WordPress Custom Fields" src="http://designparc.com/wp-content/uploads/2010-06-08_0304-300x135.png" alt="WordPress Custom Fields" width="300" height="135" /></a><p class="wp-caption-text">WordPress Custom Fields</p></div>
<p>3. Working examples:</p>
<ul>
<li><a title="WordPress Custom Fields" href="http://test.toryclark.com/press" target="_blank">http://test.toryclark.com/press</a></li>
<li><a title="WordPress Custom Fields" href="http://toryclark.com/press" target="_blank">http://toryclark.com/press</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://designparc.com/1354/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website Design &#8211; CSS Resource &#8211; Smashing Magazine</title>
		<link>http://designparc.com/1320</link>
		<comments>http://designparc.com/1320#comments</comments>
		<pubDate>Thu, 14 Jan 2010 22:26:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Website design]]></category>
		<category><![CDATA[Smashing Magazine]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://designparc.com/?p=1320</guid>
		<description><![CDATA[Smashing Magazine is one of the best Website design resources out there! I&#8217;m currently researching CSS techniques and Smashing Magazine is consistently a great resource for Web design, CSS, jQuery, javascript. 45 Powerful CSS/JavaScript-Techniques http://www.smashingmagazine.com/2010/01/12/45-powerful-css-javascript-techniques/ Site: http://www.smashingmagazine.com/ Follow them on Twitter: @smashingmag]]></description>
			<content:encoded><![CDATA[<h2>Smashing Magazine is one of the best Website design resources out there!</h2>
<p>I&#8217;m currently researching CSS techniques and Smashing Magazine is consistently a great resource for Web design, CSS, jQuery, javascript.</p>
<p><strong><a title="45 Powerful CSS/Javascript Techniques" href="http://www.smashingmagazine.com/2010/01/12/45-powerful-css-javascript-techniques/" target="_blank">45 Powerful CSS/JavaScript-Techniques</a></strong><br />
<a title="45 Powerful CSS/Javascript Techniques" href="http://www.smashingmagazine.com/2010/01/12/45-powerful-css-javascript-techniques/" target="_blank">http://www.smashingmagazine.com/2010/01/12/45-powerful-css-javascript-techniques/</a></p>
<p>Site: <a title="Smashing Magazine" href="http://www.smashingmagazine.com/" target="_blank">http://www.smashingmagazine.com/</a></p>
<p>Follow them on Twitter: @smashingmag</p>
]]></content:encoded>
			<wfw:commentRss>http://designparc.com/1320/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
