<?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>Thesis Tutor &#187; Header</title> <atom:link href="http://thesistutor.com/category/header/feed/" rel="self" type="application/rss+xml" /><link>http://thesistutor.com</link> <description>Tutorials For The Thesis Wordpress Theme &#124; Video Tutorials For The Thesis Wordpress Theme</description> <lastBuildDate>Fri, 09 Jul 2010 04:50:05 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=abc</generator> <item><title>How To Add A Filter To The Homepage H1</title><link>http://thesistutor.com/how-to-add-a-filter-to-the-homepage-h1/</link> <comments>http://thesistutor.com/how-to-add-a-filter-to-the-homepage-h1/#comments</comments> <pubDate>Thu, 22 Apr 2010 05:18:53 +0000</pubDate> <dc:creator>Matt</dc:creator> <category><![CDATA[Header]]></category><guid
isPermaLink="false">http://thesistutor.com/?p=1002</guid> <description><![CDATA[In a recent job I was doing, I needed to change the &#60;h1&#62; tag on the homepage of my client&#8217;s site. In Thesis, the homepage &#60;h1&#62; is set as the tagline, and I not only needed to change that, but have a simple solution for all my sites from here on out. My setup was [...]]]></description> <content:encoded><![CDATA[<p></p><p><span
class="drop_cap">I</span>n a recent job I was doing, I needed to change the <code>&lt;h1&gt;</code> tag on the homepage of my client&#8217;s site. In <a
href="http://thesistutor.com/diythemes">Thesis</a>, the homepage <code>&lt;h1&gt;</code> is set as the tagline, and I not only needed to change that, but have a simple solution for all my sites from here on out.</p><p>My setup was as follows: I had a static homepage that I had done a bunch of custom work on.</p><h2>Editing Core Files</h2><p>Go to the <code>thesis_1x</code> folder. Click on <code>lib</code> then <code>functions</code>, then open <code>document.php</code>.</p><ul><li>Go to line 95, which says the following:<pre>
echo "\t\t&lt;h1 id=\"tagline\"&gt;" . <span class="red">get_bloginfo('description')</span> . "&lt;/h1&gt;\n";
else
echo "\t\t&lt;p id=\"tagline\"&gt;" . <span class="red">get_bloginfo('description')</span> . "&lt;/p&gt;\n";
</pre></li><li>Replace lines 95-97 with this:<pre>
echo "\t\t&lt;h1 id=\"tagline\"&gt;" . <span class="green">apply_filters('homepage_h1', get_bloginfo('description'))</span> . "&lt;/h1&gt;\n";
else
echo "\t\t&lt;p id=\"tagline\"&gt;" . <span class="green">apply_filters('homepage_h1', get_bloginfo('description'))</span> . "&lt;/p&gt;\n";
</pre></li></ul><h2>Using the H1 Filter</h2><p>To make use of this new filter, simply add the following to <code>custom_functions.php</code>:</p><pre>
function h1_replace() {
return "<em>New H1 Text Goes Here</em>";
}
add_filter('homepage_h1','h1_replace');
</pre><p>Be sure to change the text to what you want the new H1 to be.</p><p><a
href="http://thesistutor.com/diythemes">Thesis</a> is just that easy! <img
src='http://thesistutor.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://thesistutor.com/how-to-add-a-filter-to-the-homepage-h1/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>How To Make A Rotating Header Image In Thesis</title><link>http://thesistutor.com/how-to-make-a-rotating-header-image-in-thesis/</link> <comments>http://thesistutor.com/how-to-make-a-rotating-header-image-in-thesis/#comments</comments> <pubDate>Fri, 05 Mar 2010 23:36:46 +0000</pubDate> <dc:creator>Matt</dc:creator> <category><![CDATA[Header]]></category><guid
isPermaLink="false">http://thesistutor.com/?p=942</guid> <description><![CDATA[When Chris Pearson, the creator of Thesis, recently redesigned Pearsonified.com on Thesis, he did something amazingly cool: he put rotating images in his header area. Well, I was so inspired by his design that I wanted to figure out how he did it. It turns out that putting rotating images in your header is extremely [...]]]></description> <content:encoded><![CDATA[<p></p><p><embed
src="http://blip.tv/play/AYHK%2BSQA" type="application/x-shockwave-flash" width="720" height="480" allowscriptaccess="always" allowfullscreen="true"></embed></p><p>When Chris Pearson, the creator of <a
href="http://thesistutor.com/diythemes">Thesis</a>, recently redesigned <a
href="http://pearsonified.com">Pearsonified.com</a> on Thesis, he did something amazingly cool: he put rotating images in his header area.</p><p>Well, I was so inspired by his design that I wanted to figure out how he did it. It turns out that putting rotating images in your header is extremely easy.</p><h2>On the backside.</h2><p>Well, let&#8217;s get started. From the WordPress Dashboard, go to Thesis Options -> Design Options -> Feature Box.</p><p>In this tutorial, I am setting the Feature Box to &#8220;Full Width Above Content And Sidebars.&#8221; It is completely up to you whether you chose to show the rotator on every page or just the home page.</p><h2>The Code</h2><p>Let&#8217;s start with the Custom.CSS. I just want to warn you right now: <strong>THIS IS SUPER EASY!</strong></p><p>Copy and paste the following into your Custom.CSS:</p><pre>
.custom #feature_box { padding: 0; border: none; }
	.custom #feature_box img { display: block; }
</pre><p>Wow! That&#8217;s it, folks. Ok, now let&#8217;s knock out the Custom_Functions.PHP part of this. Again, don&#8217;t be shocked when you see how <em>unbelievably simple</em> this is.</p><pre>
function header_rotator() {
echo thesis_image_rotator();
}
add_action('thesis_hook_feature_box','header_rotator');
</pre><p>Seriously, that is all. Unreal how simple that is, isn&#8217;t it?</p><p><a
href="http://thesistutor.com/developer" class="callout">Purchase or Upgrade to the <strong>Thesis Developer&#8217;s Option</strong> Today!</a></p><h2 id="anchor-tag">Add an Anchor Tag</h2><p>Let&#8217;s say that you want to add an anchor tag, <code>&lt;a&gt;</code>, around the rotating image. Simply put this in your <code>custom_functions.php</code> file <em>instead</em> of what&#8217;s above:</p><pre>
function header_rotator() {
?&gt;&lt;a href="http://addressgoeshere.com"&gt;&lt;?php
echo thesis_image_rotator();
?&gt;&lt;/a&gt;&lt;?php
}
add_action('thesis_hook_feature_box','header_rotator');
</pre><p>Just add the address you want to link to, and call it a day <img
src='http://thesistutor.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><h2>What about the images?</h2><p>To get the images to line up perfectly you need to know the width of your site. If you use the <a
href="http://getfirebug.com/">Firebug</a> plugin for <a
href="http://mozilla.com">Firefox</a> or <a
href="http://www.google.com/chrome">Google Chrome</a>, you&#8217;ll have no problem finding out the width. Just remember that if you have page padding (as in the &lt;div class=&#8221;page&#8221;&gt;), you need to exclude that from the width calculation.</p><p>Also, I recommend making the images the same height so that the layout doesn&#8217;t shift on refreshes.</p><p>Oh, yeah. Don&#8217;t forget to <a
href="http://thesistutor.com/developer"><strong>Upgrade to the Developer Option</strong></a>! You will never regret it!</p> ]]></content:encoded> <wfw:commentRss>http://thesistutor.com/how-to-make-a-rotating-header-image-in-thesis/feed/</wfw:commentRss> <slash:comments>37</slash:comments> </item> <item><title>How To Make Custom Headers For Each Page</title><link>http://thesistutor.com/how-to-make-custom-headers-for-each-page/</link> <comments>http://thesistutor.com/how-to-make-custom-headers-for-each-page/#comments</comments> <pubDate>Wed, 01 Jul 2009 22:05:09 +0000</pubDate> <dc:creator>Matt</dc:creator> <category><![CDATA[Header]]></category><guid
isPermaLink="false">http://thesistutor.com/?p=417</guid> <description><![CDATA[Here are the few lines of CSS I used: .custom #header { background: #000; } .history_page #header { background: #ffd000; } .designers_page #header { background: #203ffe; } .about_page #header { background: #ccc; } Making custom headers for each page is as easy as typing. Thanks to Thesis, this process takes seconds, whereas with other themes, [...]]]></description> <content:encoded><![CDATA[<p></p><p><embed
src="http://thesistutor.com/wp-content/uploads/2009/07/custom-page-headers.mov" width="740" height="470" /></p><p>Here are the few lines of CSS I used:</p><pre>.custom #header { background: #000; }
.history_page #header { background: #ffd000; }
.designers_page #header { background: #203ffe; }
.about_page #header { background: #ccc; }</pre><p>Making custom headers for each page is as easy as typing. Thanks to <a
href="http://www.shareasale.com/r.cfm?b=198392&#038;u=403159&#038;m=24570&#038;urllink=&#038;afftrack=">Thesis</a>, this process takes seconds, whereas with other themes, it may take hours of sweat and tears. As far as naming each page, you should use a unique name that simplistically identifies that page. For that very reason, I use the format <code>pagename_page</code>. So, if your page is called &#8220;Mechanisms&#8221;, consider using <code>mechanisms_page</code>. You may certainly use something non-related, such as <code>so_fresh</code>, but that isn&#8217;t relevant and may cause confusion later.</p><p>If you have any more questions, please contact ThesisTutor [at] gmail [dot] com.</p><p><a
href="http://www.shareasale.com/r.cfm?b=198392&#038;u=403159&#038;m=24570&#038;urllink=&#038;afftrack=">Don&#8217;t Forget To Upgrade To The Thesis Developer&#8217;s Option!</a></p> ]]></content:encoded> <wfw:commentRss>http://thesistutor.com/how-to-make-custom-headers-for-each-page/feed/</wfw:commentRss> <slash:comments>9</slash:comments> <enclosure
url="http://thesistutor.com/wp-content/uploads/2009/07/custom-page-headers.mov" length="11355217" type="video/quicktime" /> </item> <item><title>How To Put An Image As Your Header</title><link>http://thesistutor.com/how-to-put-an-image-as-your-header/</link> <comments>http://thesistutor.com/how-to-put-an-image-as-your-header/#comments</comments> <pubDate>Fri, 19 Jun 2009 00:44:59 +0000</pubDate> <dc:creator>Matt</dc:creator> <category><![CDATA[Header]]></category><guid
isPermaLink="false">http://thesistutor.com/?p=218</guid> <description><![CDATA[I would like to start off by saying that many people think that the header must be purged of text before an image can be properly displayed. Well, those people are wrong. I therefore cannot stress enough that all Thesis users must fill in their Blog Title and Tagline. Blog Title and Tagline are found [...]]]></description> <content:encoded><![CDATA[<p></p><p>I would like to start off by saying that many people think that the header must be purged of text before an image can be properly displayed. Well, those people are wrong. I therefore cannot stress enough that all <a
href="http://www.shareasale.com/r.cfm?b=198392&#038;u=403159&#038;m=24570&#038;urllink=&#038;afftrack=">Thesis</a> users must fill in their Blog Title and Tagline. Blog Title and Tagline are found from the WordPress Dashboard. Go to Settings&#8658General. Then just fill them both in.</p><p>Now I can show you how to fix up that header. I generally recommend that you <a
href="http://thesistutor.com/how-to-remove-the-border-from-the-header/">remove the header border</a>, but that is totally your call. I will remove the border in the following lesson. If you want the border to stay, just take that part out of the CSS. Also, I am going to assume that the image you have is the exact same size as your header area. If you are unsure, ask me. I&#8217;ll check it out for ya. All you have to do in return is follow me on <a
href="http://twitter.com/mattonomics">twitter</a>. Hey, c&#8217;mon. It&#8217;s free advice.</p><p>Anyway, here we go:</p><ol><li><a
href="http://thesistutor.com/custom-css-custom-functions-php-location/">Open custom.css</a> in an editor AND open the folder labeled <em>images</em>, which is found in the same folder as custom.css and custom_functions.php.</li><li>****VERY IMPORTANT**** You must now load the header graphic on your server in the <em>images</em> folder.<li>Enter the following in the <em>custom.css</em> file:<pre>.custom #header { background: url('images/<strong>your_image.gif</strong>') no-repeat; text-indent: -9999px; border-bottom: none; }</pre></li></ol><p>Now, I bet you have a gorgeous custom header for your site.</p> ]]></content:encoded> <wfw:commentRss>http://thesistutor.com/how-to-put-an-image-as-your-header/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>How To Embed A Flash Header</title><link>http://thesistutor.com/how-to-embed-a-flash-header/</link> <comments>http://thesistutor.com/how-to-embed-a-flash-header/#comments</comments> <pubDate>Tue, 16 Jun 2009 18:25:45 +0000</pubDate> <dc:creator>Matt</dc:creator> <category><![CDATA[Header]]></category><guid
isPermaLink="false">http://thesistutor.com/?p=168</guid> <description><![CDATA[Embedding a flash header is fairly easy with Thesis. In this tutorial I will show how to do exactly that. One thing I will not cover is how to write the html necessary to embed flash. I will assume that you already have an embed code. Also, there are numerous ways to get your flash [...]]]></description> <content:encoded><![CDATA[<p></p><p>Embedding a flash header is fairly easy with Thesis. In this tutorial I will show how to do exactly that. One thing I will not cover is how to write the html necessary to embed flash. I will assume that you already have an embed code. Also, there are numerous ways to get your flash header on your site.</p><p>Method #1 will leave the traditional <a
href="http://www.shareasale.com/r.cfm?b=198392&#038;u=403159&#038;m=24570&#038;urllink=&#038;afftrack=">Thesis Theme</a> header and the flash will appear right below it. Here is method #1:</p><ol><li>First, you must log into WordPress and click the following: Appearance &#8594; Design Options.</li><li>Find the &#8220;Feature Box&#8221; section and expand the top option. For a &#8220;header&#8221; feature box choose the feature box placement option &#8220;full width above content and sidebars.&#8221; Then decide if you want it to show on only the home page or sitewide. Don&#8217;t forget to save!</li><li>Now open <a
href="http://thesistutor.com/custom-css-custom-functions-php-location/"><em>custom.css</em> and <em>custom_functions.php</em</a>.</li><li>In the <em>custom_functions.php</em> enter the following code:<pre>function fancy_pants_flash() {
?>
your embed code goes here
&#60;&#63;php
}
add_action('thesis_hook_feature_box','fancy_pants_flash');</pre></li></ol><p>Method #2 will actually put the flash in the header and obscure the traditional header text. And here is method #2:</p><ol><li>Open your <a
href="http://thesistutor.com/custom-css-custom-functions-php-location/"><em>custom.css</em> and <em>custom_functions.php</em></a>.</li><li>In your <em>custom_functions.php</em> enter the following:<pre>function fancy_pants_flash() {
?>
your embed code goes here
&#60;&#63;php
}
add_action('thesis_hook_after_title','fancy_pants_flash');</pre></li><li>Now type the following in <em>custom.css</em>:<pre>.custom #header #logo { text-indent: -9999px; }
.custom #header #tagline { text-indent: -9999px; }</pre></li></ol><p>DO NOT FORGET TO SAVE YOUR WORK!!!</p><p>One last thing: Thesis Tutor can&#8217;t help you with the flash aspect of this tutorial. So if you are wondering about parameters and what not, I suggest you read <a
href="http://kb2.adobe.com/cps/415/tn_4150.html">this</a> and <a
href="http://kb2.adobe.com/cps/127/tn_12701.html">this</a>.</p> ]]></content:encoded> <wfw:commentRss>http://thesistutor.com/how-to-embed-a-flash-header/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>How To Create Space Above The Header (And/Or Below)</title><link>http://thesistutor.com/how-to-create-space-above-header/</link> <comments>http://thesistutor.com/how-to-create-space-above-header/#comments</comments> <pubDate>Fri, 12 Jun 2009 22:36:53 +0000</pubDate> <dc:creator>Matt</dc:creator> <category><![CDATA[Header]]></category><guid
isPermaLink="false">http://thesistutor.com/?p=68</guid> <description><![CDATA[Thesis Tutor has a cool looking space above the header. That space really creates a &#8220;page&#8221; effect. Like many aspects of Thesis design, this is really easy to change. As with any CSS or PHP customization, you will have to follow the first four steps from my previous tutoring session. Use your favorite editor to [...]]]></description> <content:encoded><![CDATA[<p></p><p>Thesis Tutor has a cool looking space above the header. That space really creates a &#8220;page&#8221; effect. Like many aspects of Thesis design, this is really easy to change.</p><ol><li>As with any CSS or PHP customization, you will have to follow the <a
href="http://www.shareasale.com/r.cfm?b=198392&#038;u=403159&#038;m=24570&#038;urllink=&#038;afftrack=">first four steps</a> from my previous tutoring session.</li><li>Use your favorite editor to open the <em>custom.css</em> file.</li><li>Type the following:<pre>body.custom { padding-top: 2em; }</pre></li></ol><p>If you want to add space underneath the footer, add the following:</p><pre>body.custom { padding-bottom: 2em; }</pre><p>The entire declaration will look like this:</p><pre>body.custom { padding-top: 2em; padding-bottom: 2em; }</pre><p>OR</p><pre>body.custom { padding: 2em 0em 2em 0em; }</pre><p>Either one will work classically and make your site look pimp.</p><p>Be sure to play with the spacing. You may like 1em or 5em. If you have a certain pixel value, use this <a
href="http://www.pxtoem.com">converter</a> to get the appropriate ems. Remember to <em>declare as many values in ems as possible</em>, as this will assist in cross-browser compatibility.</p><p>No Thesis? <a
href="http://www.shareasale.com/r.cfm?b=198392&#038;u=403159&#038;m=24570&#038;urllink=&#038;afftrack=">Get it HERE!</a></p> ]]></content:encoded> <wfw:commentRss>http://thesistutor.com/how-to-create-space-above-header/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How To Remove The Border From The Header</title><link>http://thesistutor.com/how-to-remove-the-border-from-the-header/</link> <comments>http://thesistutor.com/how-to-remove-the-border-from-the-header/#comments</comments> <pubDate>Fri, 12 Jun 2009 05:17:01 +0000</pubDate> <dc:creator>Matt</dc:creator> <category><![CDATA[Header]]></category><guid
isPermaLink="false">http://thesistutor.com/?p=34</guid> <description><![CDATA[If you tried our first post where we moved the nav menu, you may notice a very nasty little border issue between the bottom of the header and the top of the nav menu. Yes, it is ugly and you need to get rid of that. Guess what? It is super easy. Here we go: [...]]]></description> <content:encoded><![CDATA[<p></p><p>If you tried our first post where we <a
href="http://thesistutor.com/how-to-move-the-navigation-bar-in-thesis-using-hooks/">moved the nav menu</a>, you may notice a very nasty little border issue between the bottom of the header and the top of the nav menu. Yes, it is ugly and you need to get rid of that. Guess what? It is super easy. Here we go:</p><ol><li>Follow the <a
href="http://thesistutor.com/how-to-move-the-navigation-bar-in-thesis-using-hooks/">first four steps</a> in the linked post.</li><li>Right click <em>custom.css</em> and select your favorite editor for CSS files. You may use <a
href="http://support.apple.com/kb/HT2523">textedit</a> for mac.</li><li>Scroll down past all the <a
href="http://pearsonified.com">Chris Pearson</a> jibber jabber (we still love him) and create a couple spaces after it.</li><li>Type the following:<pre>.custom #header { border-bottom: none; }</pre></li><li>Save it (and load it on your server if you must).</li></ol><p>Done-zo. That looks so much more clean and crisp. Most important, it was insanely easy.</p> ]]></content:encoded> <wfw:commentRss>http://thesistutor.com/how-to-remove-the-border-from-the-header/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 4/10 queries in 0.009 seconds using disk

Served from: thesistutor.com @ 2010-09-09 21:20:18 -->