<?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>Jeff Garrett on allJeff.com &#187; thesis theme</title>
	<atom:link href="http://alljeff.com/tag/thesis-theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://alljeff.com</link>
	<description></description>
	<lastBuildDate>Sun, 05 Sep 2010 10:58:00 +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>Thesis Theme: Style Your Home Page with &#8220;Main Man&#8221;</title>
		<link>http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/</link>
		<comments>http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 23:31:18 +0000</pubDate>
		<dc:creator>Jeff Garrett</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[thesis theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://flipthe.org/?p=137</guid>
		<description><![CDATA[
I&#8217;ve been working with the Thesis Theme for WordPress for a little over a month now and for the most part I&#8217;m pretty impressed.  One of my favorite features is the ability to apply custom CSS to individual pages by creating classes in the name of the specific page you want to alter. For example, [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/" title="Permanent link to Thesis Theme: Style Your Home Page with &#8220;Main Man&#8221;"><img class="post_image alignright" src="http://alljeff.com/wp-content/uploads/2009/03/thesis-125x125-1.png" width="125" height="125" alt="Post image for Thesis Theme: Style Your Home Page with &#8220;Main Man&#8221;" /></a>
</p><p>I&#8217;ve been working with the <a href="http://alljeff.com/go/thesis/" target="_self">Thesis Theme</a> for WordPress for a little over a month now and for the most part I&#8217;m pretty impressed.  One of my favorite features is the ability to apply custom CSS to individual pages by creating classes in the name of the specific page you want to alter. For example, to apply custom styling specifically to your &#8220;About&#8221; page, use <code>.custom.about</code> in front of any of the IDs or classes in your stylesheet you want to change.</p>
<p>On one site I&#8217;m working on I wanted my &#8220;About&#8221; page to only have one sidebar instead of the two default sidebars that I&#8217;m using on the rest of the site. Using the same naming convention I mentioned above, I simply added the following to my custom.css file.<span id="more-137"></span></p>
<pre>.custom.about #column_wrap {background:#4ebaff;width:890px;}
.custom.about #content {background:#fff; width: 770px; margin:0; padding:0;-moz-border-radius:.5em;}
.custom.about #sidebar_1 {display:block; width:120px !important;}
.custom.about #sidebars {display:none !important;}
.custom.about #sidebar_2 {display:block; width:0 !important;}</pre>
<p>This was all fine and dandy until I wanted to use the same method to apply styling to my static home page.  After numerous attempts I couldn&#8217;t find an answer.  Finally I investigated the source code of my home page as it was being displayed and noticed this interesting little nugget <code>body class="custom main-man"</code>. It appeared that this mysterious &#8220;Main-Man&#8221; was controlling the styling of my home page.  So I raced off to my custom.css file, threw together some styling for my home page using the <code>.custom.main-man</code> naming convention, and &#8220;wahlah!&#8221; my problem was solved.</p>
<p>So who is this &#8220;main-man&#8221; and where did he come from?</p>
<p>Well, it turns out that I unknowingly created him. When setting up the initial site I named what would be the home page &#8220;Main Man&#8221; to avoid any confusion within WordPress if I named it &#8220;Home.&#8221; Later I changed the name of the title of the page but forgot to pay any attention to the slug. This just goes to show how awesome this feature of Thesis is.  Create a special CSS class using the naming convention of the page&#8217;s slug and presto, you&#8217;ve got a new custom page.<!--more--></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/&amp;title=Thesis+Theme%3A+Style+Your+Home+Page+with+%22Main+Man%22" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/&amp;title=Thesis+Theme%3A+Style+Your+Home+Page+with+%22Main+Man%22" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/&amp;t=Thesis+Theme%3A+Style+Your+Home+Page+with+%22Main+Man%22" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/&amp;title=Thesis+Theme%3A+Style+Your+Home+Page+with+%22Main+Man%22&amp;summary=I%27ve%20been%20working%20with%20the%20Thesis%20Theme%20for%20WordPress%20for%20a%20little%20over%20a%20month%20now%20and%20for%20the%20most%20part%20I%27m%20pretty%20impressed.%C2%A0%20One%20of%20my%20favorite%20features%20is%20the%20ability%20to%20apply%20custom%20CSS%20to%20individual%20pages%20by%20creating%20classes%20in%20the%20name%20of%20the%20specific%20page%20you%20want%20to%20alter.%20For%20example%2C%20to&amp;source=Jeff Garrett on allJeff.com" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/&amp;bm_description=Thesis+Theme%3A+Style+Your+Home+Page+with+%22Main+Man%22&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/&amp;title=Thesis+Theme%3A+Style+Your+Home+Page+with+%22Main+Man%22" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/&amp;title=Thesis+Theme%3A+Style+Your+Home+Page+with+%22Main+Man%22" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/&amp;title=Thesis+Theme%3A+Style+Your+Home+Page+with+%22Main+Man%22" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Thesis+Theme%3A+Style+Your+Home+Page+with+%22Main+Man%22+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://alljeff.com/thesis-theme-style-your-home-page-with-main-man/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
