<?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>www.wpfood.com &#187; css</title>
	<atom:link href="http://www.wpfood.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wpfood.com</link>
	<description>WordPress for Beginners</description>
	<lastBuildDate>Fri, 05 Mar 2010 15:32:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Ad 125/125 Advertising Blocks</title>
		<link>http://www.wpfood.com/2009/02/15/how-to-ad-125125-advertising-blocks/</link>
		<comments>http://www.wpfood.com/2009/02/15/how-to-ad-125125-advertising-blocks/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 19:34:05 +0000</pubDate>
		<dc:creator>Marco</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[The stars]]></category>
		<category><![CDATA[125]]></category>
		<category><![CDATA[125x125]]></category>
		<category><![CDATA[ad blocks]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[Advertising Blocks]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[How to Ad]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[stars]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[thestars]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.wpfood.com/?p=42</guid>
		<description><![CDATA[Some people requested that they want the ability to add ...]]></description>
			<content:encoded><![CDATA[<p>Some people requested that they want the ability to add 125&#215;125 ads to their sidebar like the ones that I have so here it is.</p>
<p><strong>STEP ONE</strong></p>
<p>Add the below CSS to the bottom of your screen.css</p>
<pre class="brush: css;">/* Ad Blocks

---------------------------------------------------------------- */

.block

{

margin: 0px 0 0;

padding: 0 0 0px;

color: #aaa;

text-align: center;

text-transform: lowercase;

font-family: monospace;

line-height: .8em;

}

.halfblock

{

width:50%;

float:left;

padding:0;

margin:0;

}</pre>
<p><strong>STEP TWO</strong></p>
<p>Download and extract, then add these two files to your ads folder (example: themes/thsestars/ads/)</p>
<p>Download <a href="http://www.wpfood.com/download/125x125ads.zip">here</a></p>
<p>Alternatively you can just copy the files you have in your stars theme and then rename them ads-125&#215;125right.php and ads-125&#215;125right.php</p>
<p><strong>STEP THREE</strong></p>
<p>Add this code in your sidebar.php where you want the two 125&#215;125 ads to appear.</p>
<pre class="brush: php;">&lt;!-- 125/125 Ad blocks section --&gt;

&lt;li id=&quot;asides&quot;&gt;

&lt;div class=&quot;block&quot;&gt;

&lt;div class=&quot;halfblock&quot;&gt;

&lt;?php include (TEMPLATEPATH . '/ads/ads-125x125left.php'); ?&gt;&lt;/div&gt;&lt;div class=&quot;halfblock&quot;&gt;&lt;?php include (TEMPLATEPATH . '/ads/ads-125x125right.php'); ?&gt;

&lt;/div&gt;

&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;

&lt;/li&gt;

&lt;!-- End 125/125 Ad blocks section --&gt;</pre>
<p>When adding all of the above you must remember to add your ad spots using the left/right.php files or else nothing else will show up.</p>
<p><strong>Example:</strong></p>
<pre class="brush: xml;">&lt;a href=&quot;thelinktoyourad&quot; target=&quot;blank&quot;&gt;&lt;img src=&quot;thelinkwheretheimageisstored&quot; alt=&quot;nameofad&quot; /&gt;&lt;/a&gt;</pre>
<p>See the ads in action in my sidebar &#8212;&#8212;&#8212;&#8212;&gt;&gt;&gt;&gt;</p>
<p>Any trouble post below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpfood.com/2009/02/15/how-to-ad-125125-advertising-blocks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adding Google AdSense Under Comments</title>
		<link>http://www.wpfood.com/2009/02/04/the-stars-theme-adding-google-adsense-under-comments/</link>
		<comments>http://www.wpfood.com/2009/02/04/the-stars-theme-adding-google-adsense-under-comments/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 23:12:36 +0000</pubDate>
		<dc:creator>Marco</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[The stars]]></category>
		<category><![CDATA[Ads]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[Comments]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[thestars]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.wpfood.com/?p=40</guid>
		<description><![CDATA[Let&#8217;s start by putting this code in your screen.css All ...]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s start by putting this code in your screen.css All I did was co-opt the flickr code and renamed it for google ads for comments.</p>
<pre class="brush: css;">/* Google Ads Under Comments */

#googleads {
padding: 10px 0;
border-bottom: 10px solid #f1f1f1;
}
#googleads #googleads {
padding: 0 15px;
text-align: center;
}
#googleads #googleads a img {
margin: 0 5px;
padding: 4px;
border: 1px solid #eee !important;
}
#googleads #googleads a:hover img {
background: #e33258;
}</pre>
<p>Now let&#8217;s add this code right at the top of your comments.php (You need a <a href="http://www.google.com/ads/ads_2.html" target="_blank">Google AdSense</a> account to put in the publisher number.)<strong><br />
</strong></p>
<pre class="brush: php;">&lt;div align=&quot;center&quot;&gt;
&lt;div id=&quot;googleads&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-XXXXXXXXXX&quot;;
/* Comments Ad 468x60, created 2/4/09 */
google_ad_slot = &quot;XXXXXXXXXX&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;</pre>
<p>This is a quick and dirty way of doing it but it should work.</p>
<p>Any questions just let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpfood.com/2009/02/04/the-stars-theme-adding-google-adsense-under-comments/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
