<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Headway 101</title>
	
	<link>http://headway101.com</link>
	<description>The Unofficial Guide to Headway Themes</description>
	<lastBuildDate>Fri, 25 May 2012 19:56:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/HeadwayHQ" /><feedburner:info uri="headwayhq" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>How Cloning and Templates Work in Headway 3.0</title>
		<link>http://feedproxy.google.com/~r/HeadwayHQ/~3/3-7A4gOuN5U/</link>
		<comments>http://headway101.com/how-cloning-and-templates-work-in-headway-3-0/#comments</comments>
		<pubDate>Fri, 25 May 2012 12:26:05 +0000</pubDate>
		<dc:creator>Corey Freeman</dc:creator>
				<category><![CDATA[Headway Basics]]></category>

		<guid isPermaLink="false">http://headway101.com/?p=1029</guid>
		<description><![CDATA[The number one question I see online is about cloning layouts and using templates. I decided to kill two birds with one stone and create a video covering these topics. It&#8217;s about 11 minutes, but hopefully it will clear up a lot of the confusion. Cloning and Templates Summary Cloning is the practice of copying [...]]]></description>
			<content:encoded><![CDATA[<p>The number one question I see online is about cloning layouts and using templates. I decided to kill two birds with one stone and create a video covering these topics. It&#8217;s about 11 minutes, but hopefully it will clear up a lot of the confusion.</p>
<p><iframe src="http://www.youtube.com/embed/kmcsEcMatww" frameborder="0" width="580" height="326"></iframe></p>
<h2>Cloning and Templates Summary</h2>
<p><strong>Cloning</strong> is the practice of copying a layout from another page onto a new layout. From there you can modify the new page as needed, moving, deleting, and adding blocks to just the current layout.</p>
<p><strong>Templates</strong> are pre-defined layouts that you create to use as-needed. Pages with templates assigned will look exactly the same except for the content (as long as the content block is in default mode). Changes made on the template will affect all pages using it.</p>
<p>I never use templates, so new users need not deal with them if they don&#8217;t want to. What questions do you still have about these two features of headway themes?</p>
<img src="http://feeds.feedburner.com/~r/HeadwayHQ/~4/3-7A4gOuN5U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://headway101.com/how-cloning-and-templates-work-in-headway-3-0/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://headway101.com/how-cloning-and-templates-work-in-headway-3-0/</feedburner:origLink></item>
		<item>
		<title>How to Use Tables with Headway Themes 3.0</title>
		<link>http://feedproxy.google.com/~r/HeadwayHQ/~3/Rsr3rPspI2A/</link>
		<comments>http://headway101.com/how-to-use-tables-with-headway-themes-3-0/#comments</comments>
		<pubDate>Wed, 23 May 2012 12:50:00 +0000</pubDate>
		<dc:creator>Corey Freeman</dc:creator>
				<category><![CDATA[Code Snippets]]></category>

		<guid isPermaLink="false">http://headway101.com/?p=1016</guid>
		<description><![CDATA[Tables are a great way to organize content into a more uniform structure within a post or page. For example, I use tables to display the courses available for purchase in four equally sized sections. Headway 3.0 isn&#8217;t table-friendly off the bat, though, so we have to add a bit of CSS code to make [...]]]></description>
			<content:encoded><![CDATA[<p>Tables are a great way to organize content into a more uniform structure within a post or page. For example, I use tables to <a href="http://headway101.com/classes/" target="_blank">display the courses available for purchase</a> in four equally sized sections.</p>
<p>Headway 3.0 isn&#8217;t table-friendly off the bat, though, so we have to add a bit of CSS code to make them display properly. To make tables usable with Headway, simply <strong>add the following code to the live CSS editor or your <a href="http://headway101.com/child-themes/" target="_blank">child theme</a>&#8217;s style.css file:</strong></p>
<pre>/*Table Fix*/
body.custom table td {vertical-align: top;}</pre>
<p>That&#8217;s it! You should be good to go as far as creating tabular layouts within pages.</p>
<img src="http://feeds.feedburner.com/~r/HeadwayHQ/~4/Rsr3rPspI2A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://headway101.com/how-to-use-tables-with-headway-themes-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://headway101.com/how-to-use-tables-with-headway-themes-3-0/</feedburner:origLink></item>
		<item>
		<title>How to Change the Height of the Headway Navigation Block with CSS</title>
		<link>http://feedproxy.google.com/~r/HeadwayHQ/~3/eM_TQvmCaUA/</link>
		<comments>http://headway101.com/how-to-change-the-height-of-the-headway-navigation-block-with-css/#comments</comments>
		<pubDate>Tue, 22 May 2012 14:09:23 +0000</pubDate>
		<dc:creator>Corey Freeman</dc:creator>
				<category><![CDATA[Code Snippets]]></category>

		<guid isPermaLink="false">http://headway101.com/?p=1010</guid>
		<description><![CDATA[By default, the navigation block has a minimum size of 40px. A lot of us want to make it smaller, though, so in this headway tutorial I&#8217;ll show you the CSS code necessary to do just that. Much thanks to Gary B of the forums for providing the solution. How to Make the Headway Navigation [...]]]></description>
			<content:encoded><![CDATA[<p>By default, the navigation block has a minimum size of 40px. A lot of us want to make it smaller, though, so in this headway tutorial I&#8217;ll show you the CSS code necessary to do just that. Much thanks to <a href="https://twitter.com/#!/thecodepunk" target="_blank">Gary B</a> of the forums for providing the solution.</p>
<h2>How to Make the Headway Navigation Block Smaller with CSS</h2>
<p>Copy and paste the following CSS code into the live CSS editor or your <a href="http://headway101.com/child-themes/" target="_blank">child theme</a>&#8217;s style.css file:</p>
<pre>body.custom .nav-horizontal ul.menu &gt; li &gt; a, .nav-search-active .nav-search { height: 30px; line-height: 30px; }</pre>
<h3>Targeting an Individual Navigation Block</h3>
<p>If you want to target a specific navigation block, get the block&#8217;s ID and use the following code instead:</p>
<pre>body.custom #block-2 .nav-horizontal ul.menu &gt; li &gt; a, #block-2 .nav-search-active .nav-search { height: 30px; line-height: 30px; }</pre>
<p>If you want to make it even smaller, just change the 30px to a lower number. Thanks to the helpful people over at the support forums, the rest of us can make the navigation block as tiny as we want!</p>
<img src="http://feeds.feedburner.com/~r/HeadwayHQ/~4/eM_TQvmCaUA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://headway101.com/how-to-change-the-height-of-the-headway-navigation-block-with-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://headway101.com/how-to-change-the-height-of-the-headway-navigation-block-with-css/</feedburner:origLink></item>
		<item>
		<title>How to Hide or Modify the Category Archive Title in Headway 3.0</title>
		<link>http://feedproxy.google.com/~r/HeadwayHQ/~3/Id7APZyCUjI/</link>
		<comments>http://headway101.com/how-to-hide-or-modify-the-category-archive-title-in-headway-3-0/#comments</comments>
		<pubDate>Mon, 21 May 2012 19:37:50 +0000</pubDate>
		<dc:creator>Corey Freeman</dc:creator>
				<category><![CDATA[Code Snippets]]></category>

		<guid isPermaLink="false">http://headway101.com/?p=1004</guid>
		<description><![CDATA[By default, the category archive title reads &#8220;category archives: category title&#8221;. We can change or hide this text using simple PHP. You&#8217;ll need a child theme to do this. How to Hide the Category Archive Title Hiding the title entirely is fairly simple. We can make a function called &#8220;hide&#8221; to get rid of it, [...]]]></description>
			<content:encoded><![CDATA[<p>By default, the category archive title reads &#8220;category archives: category title&#8221;. We can change or hide this text using simple PHP. You&#8217;ll need a <a href="http://headway101.com/child-themes/" target="_blank"><a href="http://headway101.com/child-themes/" target="_blank">child theme</a></a> to do this.</p>
<h2>How to Hide the Category Archive Title</h2>
<p>Hiding the title entirely is fairly simple. We can make a function called &#8220;hide&#8221; to get rid of it, just like when we <a href="http://headway101.com/how-to-hide-the-headway-footer-links-with-php/" target="_blank">hide footer links with php</a>. Just add the following to your <a href="http://headway101.com/child-themes/" target="_blank">child theme</a>&#8217;s functions.php file:</p>
<pre>function hide() {return '';}
add_filter('headway_category_title', 'hide');</pre>
<h2>How to Change the Category Archive Title</h2>
<p>Changing the actual title text is fairly straightforward. We&#8217;re going to use some HTML and a WordPress function called &#8220;single_cat_title&#8221; to display our archive title and style it how we want. Copy the following code into your child themes&#8217; functions.php file:</p>
<pre>function my_category_title() { return '&lt;h3&gt;Now Reading: '.single_cat_title('', false).'&lt;/h3&gt;'; }
add_filter('headway_category_title', 'my_category_title');</pre>
<p>In this example, we&#8217;re wrapping our title in H3 tags to make it less prominent, and then prefixing the category with &#8220;Now Reading.&#8221; You can change the title priority to anything you want (h1, h2, etc) or even wrap it in a completely different tag (like a span tag).</p>
<p>If you don&#8217;t know much about HTML, you should <a href="http://headway101.com/html-css-and-php-explained-an-introduction-to-internet-coding-basics/" target="_blank">read my quick introduction to basic coding.</a></p>
<p>That&#8217;s all there is to it!</p>
<img src="http://feeds.feedburner.com/~r/HeadwayHQ/~4/Id7APZyCUjI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://headway101.com/how-to-hide-or-modify-the-category-archive-title-in-headway-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://headway101.com/how-to-hide-or-modify-the-category-archive-title-in-headway-3-0/</feedburner:origLink></item>
		<item>
		<title>HTML, CSS, and PHP Explained – An Introduction to Internet Coding Basics</title>
		<link>http://feedproxy.google.com/~r/HeadwayHQ/~3/ZuGp5KcrNgk/</link>
		<comments>http://headway101.com/html-css-and-php-explained-an-introduction-to-internet-coding-basics/#comments</comments>
		<pubDate>Mon, 14 May 2012 01:43:51 +0000</pubDate>
		<dc:creator>Corey Freeman</dc:creator>
				<category><![CDATA[Headway Basics]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://headway101.com/?p=879</guid>
		<description><![CDATA[While you can build a functional website without using code in Headway Themes, it&#8217;s helpful to know the basics when you start getting into intermediate customization. A lot of beginners to Headway are also beginners to how web code works, so in this tutorial we&#8217;re going to look at the three fundamental programming languages every [...]]]></description>
			<content:encoded><![CDATA[<p>While you can build a functional website without using code in Headway Themes, it&#8217;s helpful to know the basics when you start getting into intermediate customization.</p>
<p>A lot of beginners to Headway are also beginners to how web code works, so in this tutorial we&#8217;re going to look at the three fundamental programming languages every website owner should be able to recognize.</p>
<h2>What is  HTML?</h2>
<p>HTML (Hyper-Text Mark-Up Language) is the language that websites are rendered in. Basically, <strong>everything you and your readers see on the &#8220;front-end&#8221; is HTML.</strong> This language uses what&#8217;s called &#8220;tags&#8221; that you can wrap around different types of content to structure a layout. For example, this is how titles and subtitles look:</p>
<pre>&lt;h1&gt;I'm the Page Title!&lt;/h1&gt;
&lt;h2&gt;I'm a Subtitle!&lt;/h2&gt;
&lt;h3&gt;I'm a Section Title!&lt;/h3&gt;</pre>
<p>The above code uses &#8220;title tags&#8221; to designate that content as a title or subtitle. Another tag, &#8220;ul&#8221; generates an unordered list, and will display the content entered into it in a bullet vertical list. Like this:</p>
<pre>&lt;ul&gt;
&lt;li&gt;This is the first list item.&lt;/li&gt;
&lt;li&gt;This is the second list item.&lt;/li&gt;
&lt;li&gt;This is the third list item.&lt;/li&gt;
&lt;/ul&gt;</pre>
<p>HTML can also be used to assign &#8220;IDs&#8221; and &#8220;Classes&#8221; to website content. Basically, you can attach a name to elements, that can be used later with other languages. For example, Headway adds the class &#8220;custom&#8221; to the body tag. It looks like this:</p>
<pre>&lt;body class="custom"&gt;</pre>
<p>A <strong>class</strong> is an identifier that can be used numerous times on the same page. An <strong>id</strong> should only be used once per page. For example, the &#8220;whitewrap&#8221; div tag that wraps around your entire Headway Themes site. It looks like this:</p>
<pre>&lt;div id="whitewrap"&gt;</pre>
<p>For the sake of beginners, let&#8217;s say that <strong>HTML is NOT a programming language. Incorrect HTML will not take down your entire website.</strong> Usually, broken HTML just results in a weird looking layout, and can be easily fixed with the rest of the website running.</p>
<p>When you see people in videos looking at source code in a browser, what they&#8217;re viewing is HTML. <strong>It&#8217;s used to structure the website and display all of the content</strong> like text, images, videos, etc. <a href="http://w3schools.com/html/html_intro.asp" target="_blank">Read more about it here.</a></p>
<h3>HTML You Need to Know</h3>
<p>There are three snippets (really two, and then combining them) that every internet user should know: how to make a hyperlink, how to display an image, and how to display a hyper-linked image. They look like this:</p>
<pre>&lt;a href="http://yoursite.com"&gt;This is Your Link Text&lt;/a&gt;
&lt;img src="http://yoursite.com/image.jpg" /&gt;
&lt;a href="http://yoursite.com"&gt;&lt;img src="http://yoursite.com/image.jpg" /&gt;&lt;/a&gt;</pre>
<h2>What is CSS?</h2>
<p>CSS (Cascading Style Sheets) is another mark-up language, similar to HTML. Instead of displaying the content, <strong>CSS styles the content.</strong> This can mean anything from text colors to background images and positioning elements within the layout.</p>
<p><strong>You have to think of CSS as a language, like English.</strong> As opposed to these &#8220;pre-set&#8221; styles, it&#8217;s more like decorating a room with paint, photos, furniture, etc. You have elements that can be applied to various places to create a look.</p>
<p>For example, we can use the background property to set a background image:</p>
<pre>body {background: blue;}</pre>
<p>CSS communicates with HTML by identifying HTML tags, like the body tag above. Here&#8217;s an example where we would style the color of a hyperlink:</p>
<pre>a {color: green;}</pre>
<p>The HTML tag for a hyperlink is &lt;a&gt;, so we use the same thing, without the arrows, in our CSS code. CSS can also pick up IDs and Classes to style specific elements. For example, the &#8220;custom&#8221; class associated with Headway&#8217;s body tag:</p>
<pre>body.custom {background: blue;}</pre>
<p>We can string tags along to target different elements on a web page. You&#8217;ve probably seen this when looking up code examples and snippets for Headway Themes. Let&#8217;s look at code that could be used to change the color of Headway&#8217;s blog post titles:</p>
<pre>body.custom .entry-title {color: red;}</pre>
<p>This code targets the body.custom element (the body tag with the class &#8220;custom&#8221;) and then goes one step further and finds the class of the titles (&#8220;entry-title&#8221;) that is within the body tag. Once it has the target, it sets the color to red.</p>
<h3>CSS You Need to Know</h3>
<p>In reality, you should try to learn CSS in its entirety. From personal experience, I can tell you that learning basic CSS should only take around 2 hours. From there on out, it&#8217;s about practicing using it. You can <a href="http://w3schools.com/css/css_intro.asp" target="_blank">learn CSS from W3Schools</a> and use it with Headway Themes in my <a href="http://headway101.com/classes/" target="_blank">CSS Intro Bundle</a>.</p>
<h2>What is PHP?</h2>
<p>PHP is a programming language that developers use to create, manage, display, and destroy information. WordPress is created using PHP. So is Headway Themes. Basically, <strong>PHP is the foundation of dynamic website management. </strong>Luckily, beginner users really only need to learn about functions.</p>
<p>Functions are mini-programs that can be used to do a number of things. When it comes to WordPress and Headway in general, we usually use functions to <a href="http://headway101.com/what-are-headway-hooks/" target="_blank">interact with hooks</a>. For example:</p>
<pre>function alert_message()  {?&gt; &lt;div id="alert"&gt;This is an alert!&lt;/div&gt; &lt;?php }

add_action('headway_body_open', 'alert_message');</pre>
<p>The above function would make the text &#8220;This is an alert!&#8221; appear at the top of a headway-powered website. First we create our own function, alert_message() and then we use a pre-defined function: add_action(). The add_action function is being used elsewhere to tell Headway to put additional content in different places. So add_action runs our own little mini program through it&#8217;s program and then Headway&#8217;s system spits it out.</p>
<p><strong>Incorrect PHP can take down your website.</strong> This is also a language that requires practice, but you should definitely have FTP access to your website in the event you write a wrong line of code and have to fix it without going through WordPress.</p>
<h3>PHP You Need to Know</h3>
<p>The only PHP you really need to know for Headway and WordPress is how hooks work. From there on out, it&#8217;s pretty much searching the internet for code snippets until you start figuring things out. PHP is like the engineering of the internet: anyone can make a box car, but you have to keep learning if you want something really awesome.</p>
<p>Check out the introduction to hooks post and <a href="http://w3schools.com/php/php_intro.asp" target="_blank">learn more about PHP basics from W3SChools.</a></p>
<h2>Where Can I Learn More?</h2>
<p>Google. Google and practice. I have no books, courses, or videos to recommend. I learned these languages by practicing with them. Modifying preexisting templates, trying to build your own code, making changes to your website, etc. Practice makes perfect! <img src='http://headway101.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/HeadwayHQ/~4/ZuGp5KcrNgk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://headway101.com/html-css-and-php-explained-an-introduction-to-internet-coding-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://headway101.com/html-css-and-php-explained-an-introduction-to-internet-coding-basics/</feedburner:origLink></item>
		<item>
		<title>How to Create a Fluid Header and Fluid Footer in Headway (The Easy Way)</title>
		<link>http://feedproxy.google.com/~r/HeadwayHQ/~3/Ff1BzqKIo6I/</link>
		<comments>http://headway101.com/how-to-create-a-fluid-header-and-fluid-footer-in-headway-the-easy-way/#comments</comments>
		<pubDate>Thu, 10 May 2012 00:01:38 +0000</pubDate>
		<dc:creator>Corey Freeman</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Developer Tutorials]]></category>

		<guid isPermaLink="false">http://headway101.com/?p=818</guid>
		<description><![CDATA[&#8220;Fluid&#8221; website elements are parts of a website that appear to expand from one edge of the browser to the other. For example, the blue area surrounding the Headway101.com logo. A literal crap-ton of people asked me to write out my method for creating fluid headers. I apparently have showcased this technique in videos and [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Fluid&#8221; website elements are parts of a website that appear to expand from one edge of the browser to the other. For example, the blue area surrounding the Headway101.com logo.</p>
<p>A literal <em>crap-ton</em> of people asked me to write out my method for creating fluid headers. I apparently have showcased this technique in videos and on the forums, but never in a tutorial! So here&#8217;s how I do it.</p>
<h2>How to Create a Fluid Headway Header</h2>
<p>This part is all CSS, no hooks required. Basically, we&#8217;re going to make a background image act like the header for us. This is how it&#8217;s done on Headway101. First, <strong>create a background image that is the height of your header block. It can be any width, but smaller is better.</strong></p>
<p><strong></strong>Use the following CSS in either a <a href="http://headway101.com/child-themes/" target="_blank">child theme</a> or the Live CSS editor:</p>
<pre>body.custom header, body.custom div#whitewrap {background: url(yoursite.com/header.jpg) repeat-x;}
body.custom div.wrapper {background: none; box-shadow: none;}</pre>
<p><strong>This sets the header and a &lt;div&gt; tag with the &#8220;ID&#8221; whitewrap to have a background image: </strong>your header background. Of course the header is permanently attached to the wrapper, so we have to make the whole thing transparent and get rid of the box shadow.</p>
<p>The best thing about this method is that <strong>you can still use a body background image.</strong></p>
<h3>Need Fluid Navigation Too?</h3>
<p>In order to make your navigation appear fluid, simply add the height of your navbar to the bottom of your header image, and stick its seamless background inside the image. Then, make the background of the navigation block transparent. Vwala!</p>
<h2>How to Create a Fluid Headway Footer</h2>
<p><strong>If you don&#8217;t have a fluid header, </strong>you can use this CSS code to apply the above trick to the footer.<strong> Create a footer image the height of your footer block</strong> with any width, and use the following code:</p>
<pre>body.custom footer, body.custom div#whitewrap {background: url(yoursite.com/header.jpg) bottom repeat-x;}
body.custom div.wrapper {background: none; box-shadow: none; margin-bottom: 0px;}</pre>
<h3>Need Both Elements Fluid?</h3>
<p><strong>If you&#8217;re using a fluid header,</strong> then the best way is to use PHP and some HTML to create our own footer. I&#8217;ve done this for multiple projects, including a client site I just worked on, <a href="http://worldstaxhavens.com/" target="_blank">Worlds Tax Havens</a>. You need to have a <a href="http://headway101.com/how-to-make-a-child-theme-for-headway-3-0/" target="_blank"><a href="http://headway101.com/child-themes/" target="_blank">child theme</a></a> installed first.</p>
<p><strong>Delete your footer block</strong>, and add the following to your <a href="http://headway101.com/child-themes/" target="_blank">child theme</a>&#8217;s functions.php file:</p>
<pre>function custom_hw_footer() { ?&gt;
&lt;div id="footer-wrap"&gt;
&lt;footer id="footer"&gt;
&lt;p&gt;&lt;?="&amp;copy; ".date('Y')."&amp;nbsp;".get_bloginfo('name').". All Rights Reserved"; ?&gt;&lt;/p&gt;
&lt;/footer&gt;
&lt;/div&gt;
&lt;?php }
add_action('headway_after_wrapper', 'custom_hw_footer', 1);</pre>
<p>This PHP code basically says that after the wrapper, we want to add our own code for the footer, which is just a copyright message along with an updating year for the copyright date. Next, add the following code to your style.css file or the live css editor:</p>
<pre>body.custom div#footer-wrap {background: url(yoursite.com/footer.jpg); overflow: hidden;}
body.custom div#footer-wrap footer {width: 940px; margin: auto; }</pre>
<p>This CSS code makes the footer the width of your wrapper (change 940 to the width of your site) and gives it a background image that wraps from the left side of the screen to the right.</p>
<h3>Tip: Responsive Design</h3>
<p>I haven&#8217;t worked with responsive design much, but if you want the footer to resize itself alongside the rest of the responsive grid, <strong>change the width of the footer from a pixel value to a percentage between 1 and 100%.</strong> Mess with the number until it lines up correctly and you should be good to go.</p>
<h2>Enjoy Your Fluidity!</h2>
<p>This technique will end up making your content &#8220;float&#8221; and in that way, look fluid like the top and bottom portions of the website.</p>
<img src="http://feeds.feedburner.com/~r/HeadwayHQ/~4/Ff1BzqKIo6I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://headway101.com/how-to-create-a-fluid-header-and-fluid-footer-in-headway-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://headway101.com/how-to-create-a-fluid-header-and-fluid-footer-in-headway-the-easy-way/</feedburner:origLink></item>
		<item>
		<title>How to Add Google Fonts to Headway Child Themes</title>
		<link>http://feedproxy.google.com/~r/HeadwayHQ/~3/ZdSsCqbiV7k/</link>
		<comments>http://headway101.com/how-to-add-google-fonts-to-headway-child-themes/#comments</comments>
		<pubDate>Wed, 09 May 2012 23:30:37 +0000</pubDate>
		<dc:creator>Corey Freeman</dc:creator>
				<category><![CDATA[Code Snippets]]></category>

		<guid isPermaLink="false">http://headway101.com/?p=795</guid>
		<description><![CDATA[Google Fonts is Google&#8217;s library of fonts that you can use on your own website to create a more unique design. For users interested in developing child themes, custom fonts will definitely make your design stand out. If you want to use Google Fonts in your child themes instead of doing it the usual way, [...]]]></description>
			<content:encoded><![CDATA[<p>Google Fonts is Google&#8217;s library of fonts that you can use on your own website to create a more unique design. For users interested in developing child themes, custom fonts will definitely make your design stand out.</p>
<p>If you want to use <a href="http://www.google.com/webfonts#" target="_blank">Google Fonts</a> in your child themes instead of <a href="http://headway101.com/how-to-add-google-fonts-to-headway-themes-in-3-easy-steps/" target="_blank">doing it the usual way</a>, you can use a simple PHP function with Headway hooks to automatically insert the proper code for your fonts into the header.</p>
<h2>How to Add Google Fonts to Headway with PHP and Hooks</h2>
<p>In this example, we&#8217;ll be adding the <a href="http://www.google.com/webfonts#UsePlace:use/Collection:Oswald" target="_blank">Oswald font</a> to our <a href="http://headway101.com/child-themes/" target="_blank">child theme</a>. Simply copy and paste the following code into your <a href="http://headway101.com/child-themes/" target="_blank">child theme</a>&#8217;s functions.php file:</p>
<pre>

//Google Fonts
function google_fonts() {?&gt;
&lt;link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'&gt;
&lt;?php }
add_action('headway_head_extras', 'google_fonts');
</pre>
<p>After that, all you need to do is <strong>use the font-family property in your custom.css file</strong> to modify text. For example:</p>
<pre>body.custom .entry-title {font-family: 'Oswald', sans-serif;}</pre>
<p>See? Easy as pie! Now you can use Google fonts within your child themes to create a wider variety of looks. Don&#8217;t forget there&#8217;s also the font-face method of adding fonts for those not available from Google&#8217;s library.</p>
<img src="http://feeds.feedburner.com/~r/HeadwayHQ/~4/ZdSsCqbiV7k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://headway101.com/how-to-add-google-fonts-to-headway-child-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://headway101.com/how-to-add-google-fonts-to-headway-child-themes/</feedburner:origLink></item>
		<item>
		<title>How to Remove the Content Block Warning Message from the Visual Editor</title>
		<link>http://feedproxy.google.com/~r/HeadwayHQ/~3/LFUJTv_Qz8k/</link>
		<comments>http://headway101.com/how-to-remove-the-content-block-warning-message-from-the-visual-editor/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 19:33:24 +0000</pubDate>
		<dc:creator>Corey Freeman</dc:creator>
				<category><![CDATA[Code Snippets]]></category>

		<guid isPermaLink="false">http://headway101.com/?p=751</guid>
		<description><![CDATA[When working with the content block, Headway reminds you that the block won&#8217;t show the appropriate content for whatever page you happen to be on. It looks like this: Unfortunately, the warning box is rather large and makes accurate previews of your website even harder. So let&#8217;s get rid of it. Copy and paste the [...]]]></description>
			<content:encoded><![CDATA[<p>When working with the content block, Headway reminds you that the block won&#8217;t show the appropriate content for whatever page you happen to be on. It looks like this:</p>
<p><img class="aligncenter size-full wp-image-752" title="Screen Shot 2012-04-26 at 3.27.52 PM" src="http://headway101.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-26-at-3.27.52-PM.png" alt="" width="580" height="403" /></p>
<p>Unfortunately, the warning box is rather large and makes accurate previews of your website even harder. So let&#8217;s get rid of it.</p>
<p><strong>Copy and paste the following CSS into the Live CSS Editor (or your <a href="http://headway101.com/child-themes/" target="_blank">child theme</a> style.css file):</strong></p>
<pre>body.custom div.alert-yellow {display: none;}</pre>
<p>Poof! No more warning message for the user that already knows <img src='http://headway101.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/HeadwayHQ/~4/LFUJTv_Qz8k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://headway101.com/how-to-remove-the-content-block-warning-message-from-the-visual-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://headway101.com/how-to-remove-the-content-block-warning-message-from-the-visual-editor/</feedburner:origLink></item>
		<item>
		<title>How to Add Widgets to the Headway Footer Block</title>
		<link>http://feedproxy.google.com/~r/HeadwayHQ/~3/WfAJAPOQk_o/</link>
		<comments>http://headway101.com/how-to-add-widgets-to-the-headway-footer-block/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 19:17:27 +0000</pubDate>
		<dc:creator>Corey Freeman</dc:creator>
				<category><![CDATA[Code Snippets]]></category>

		<guid isPermaLink="false">http://headway101.com/?p=745</guid>
		<description><![CDATA[A &#8220;widgetized footer&#8221; gives you the ability to add widgets to the bottom of your website, and automatically have them displayed on each page. Think of it as a horizontal widget area block, but you don&#8217;t have to keep adding it manually. Creating a globally widgetized footer that appears automatically on each page is actually [...]]]></description>
			<content:encoded><![CDATA[<p>A &#8220;widgetized footer&#8221; gives you the ability to add widgets to the bottom of your website, and automatically have them displayed on each page. Think of it as a horizontal widget area block, but you don&#8217;t have to keep adding it manually.</p>
<p>Creating a globally widgetized footer that appears automatically on each page is actually pretty easy. We just need to use headway&#8217;s hooks system. First, though, you need a <a href="http://headway101.com/child-themes/" target="_blank">child theme</a>. <a href="http://headway101.com/how-to-make-a-child-theme-for-headway-3-0/" target="_blank">Learn how to create one</a> or <a href="http://headway101.com/child-themes/" target="_blank">download one from Headway101.</a></p>
<h2>Demo Video</h2>
<p><iframe src="http://www.youtube.com/embed/L-zM4le9Yzs" frameborder="0" width="580" height="325"></iframe></p>
<h2>How to Create a Widgetized Footer with Headway Themes</h2>
<p>The first thing we need to do is declare a widgetized area. This is done with the &#8220;register_sidebar&#8221; function from WordPress. <strong>Copy and paste the following code into your functions.php file:</strong></p>
<p><strong></strong>
<pre>//Define Widget Area
if (function_exists('register_sidebar'))
register_sidebar(array('name' =&gt; 'Footer-Widgets','before_widget' =&gt; '&lt;div class="footer-item"&gt;','after_widget' =&gt; '&lt;/div&gt;','before_title' =&gt; '&lt;h2&gt;','after_title' =&gt; '&lt;/h2&gt;'));</pre>
<p>Using this function, you can see that we&#8217;ve named our sidebar &#8220;Footer-Widgets,&#8221; and assigned some classes to the actual widgets and the title for styling purposes. Next we need to call out the widget area in the footer block.</p>
<p>Copy and paste the following code into your functions.php file, below the first bit of code:</p>
<pre>//Show Footer Widgets
function widgetized_footer() {
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer-Widgets') );
}
add_action('headway_footer_open', 'widgetized_footer');</pre>
<p>Here we&#8217;re using an action hook to stick our widget area into the footer block. <strong>We could easily swap &#8220;headway_footer_open&#8221; for &#8220;headway_wrapper_close&#8221; if you&#8217;re not using the footer block in your design.</strong></p>
<h3>Styling the Footer Widgets</h3>
<p>To get the footer widgets to line up horizontally, we just need one line of CSS code. <strong>Copy and paste the following CSS into your <a href="http://headway101.com/child-themes/" target="_blank">child theme</a>&#8217;s style.css file or the Live CSS editor:</strong></p>
<pre>body.custom div.footer-item {float: left; display: inline; overflow: hidden; width: 30%; padding: 10px;}</pre>
<p>This code makes the widgets align to the left of the footer and then evenly sizes them to create 3-columns. You can mess with the width percentage and padding to add more columns if necessary.</p>
<h2>Any Questions?</h2>
<p>What questions do you have about creating a global widgetized footer in Headway?</p>
<p>Don&#8217;t forget that you can learn more about hooks from the <a href="http://headway101.com/classes/" target="_blank">Introduction to Headway Hooks &amp; PHP webinar!</a></p>
<img src="http://feeds.feedburner.com/~r/HeadwayHQ/~4/WfAJAPOQk_o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://headway101.com/how-to-add-widgets-to-the-headway-footer-block/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://headway101.com/how-to-add-widgets-to-the-headway-footer-block/</feedburner:origLink></item>
		<item>
		<title>How to Add a “Hide Title on This Page” Button to Headway</title>
		<link>http://feedproxy.google.com/~r/HeadwayHQ/~3/EM1IDFeni2E/</link>
		<comments>http://headway101.com/how-to-add-a-hide-title-on-this-page-button-to-headway/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 19:06:30 +0000</pubDate>
		<dc:creator>Corey Freeman</dc:creator>
				<category><![CDATA[Code Snippets]]></category>

		<guid isPermaLink="false">http://headway101.com/?p=737</guid>
		<description><![CDATA[In version 2.0 of Headway Themes, you could hide a page&#8217;s title from within the WordPress dashboard, eliminating the need to go into the VE. 3.0 removes this feature, requiring users to setup a custom layout for a page that they might just want the page title gone from. That&#8217;s kind of annoying, so instead  [...]]]></description>
			<content:encoded><![CDATA[<p>In version 2.0 of Headway Themes, you could hide a page&#8217;s title from within the WordPress dashboard, eliminating the need to go into the VE. 3.0 removes this feature, requiring users to setup a custom layout for a page that they might just want the page title gone from.</p>
<p>That&#8217;s kind of annoying, so instead  You&#8217;ll need to have a <a href="http://headway101.com/child-themes/" target="_blank">child theme</a> in able to do this. Download one or create your own.</p>
<h2>How to Create a &#8220;Hide Page Title&#8221; Button for Headway Themes</h2>
<p><a href="http://thcreations.com/" target="_blank">Randall R from T.H. Creations</a> was nice enough to supply the code. Simply <strong>copy and paste the following PHP code into your <a href="http://headway101.com/child-themes/" target="_blank">child theme</a>&#8217;s functions.php file:</strong></p>
<pre>//Hide Page Title Button
add_action( 'add_meta_boxes', 'toggle_title_display_add_box' );
add_action( 'save_post', 'toggle_title_display_on_save' );
add_action( 'delete_post', 'toggle_title_display_on_delete' );
add_action( 'wp_head', 'toggle_title_wp_head' );
function toggle_title_wp_head(){
global $post;
$toggle = get_post_meta( $post-&gt;ID, 'toggle_title_display', true );
if( (bool) $toggle &amp;&amp; is_singular() ){
?&gt;
&lt;style type="text/css"&gt;.entry-title { display:none !important; }&lt;/style&gt;
&lt;?php
}
}
function toggle_title_display_add_box(){
$posttypes = array( 'post', 'page' );

foreach ( $posttypes as $posttype ){
add_meta_box( 'toggle_title_display', 'Hide Page Title', 'toggle_title_display_build_box', $posttype, 'side' );
}

}
function toggle_title_display_build_box( $post ){
$value =  get_post_meta( $post-&gt;ID, 'toggle_title_display', true );
$checked = '';

if( (bool) $value ){ $checked = ' checked="checked"'; }
wp_nonce_field( 'toggle_title_display_dononce', 'toggle_title_display_noncename' );
?&gt;
&lt;label&gt;&lt;input type="checkbox" name="toggle_title_display" &lt;?php echo $checked; ?&gt; /&gt; Hide the Title on This Page&lt;/label&gt;
&lt;?php
}
function toggle_title_display_on_save( $postID ){
if ( ( defined('DOING_AUTOSAVE') &amp;&amp; DOING_AUTOSAVE )
|| !isset( $_POST[ 'toggle_title_display_noncename' ] )
|| !isset( $_POST['toggle_title_display'] )
|| !wp_verify_nonce( $_POST[ 'toggle_title_display_noncename' ], 'toggle_title_display_dononce' ) ) {
return $postID;
}

$old = get_post_meta( $postID, 'toggle_title_display', true );
$new = $_POST['toggle_title_display'] ;

if( $old ){
if ( is_null( $new ) ){
delete_post_meta( $postID, 'toggle_title_display' );
} else {
update_post_meta( $postID, 'toggle_title_display', $new, $old );
}
} elseif ( !is_null( $new ) ){
add_post_meta( $postID, 'toggle_title_display', $new );
}
return $postID;
}
function toggle_title_display_on_delete( $postID ){
delete_post_meta( $postID, 'toggle_title_display' );
return $postID;
}</pre>
<p>This long piece of code creates a new meta box (a.k.a write panel) in the WordPress back end that allows for the removal of page and post titles using a simple checkbox that looks like this:</p>
<p><img class="aligncenter size-full wp-image-739" title="Screen Shot 2012-04-18 at 3.02.03 PM" src="http://headway101.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-18-at-3.02.03-PM.png" alt="" width="299" height="80" /></p>
<p>That&#8217;s all you need to do, and then you&#8217;re free to hide titles without going through the VE!</p>
<img src="http://feeds.feedburner.com/~r/HeadwayHQ/~4/EM1IDFeni2E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://headway101.com/how-to-add-a-hide-title-on-this-page-button-to-headway/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://headway101.com/how-to-add-a-hide-title-on-this-page-button-to-headway/</feedburner:origLink></item>
	</channel>
</rss>

