<?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>Fearless Flyer Web Design &#187; Sidebar</title>
	<atom:link href="http://fearlessflyer.com/tag/sidebar/feed/" rel="self" type="application/rss+xml" />
	<link>http://fearlessflyer.com</link>
	<description>Fearless flyer is a blog that focuses on the latest topics of web design. This includes Wordpress, SEO, Photoshop, jQuery, PHP and CSS. Fearless flyer is owned and operated by Michael Soriano, a seasoned web developer living in Southern California.</description>
	<lastBuildDate>Fri, 03 Feb 2012 17:11:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Styling Your Widgetized Sidebar</title>
		<link>http://fearlessflyer.com/2009/07/styling-your-widgetized-sidebar/</link>
		<comments>http://fearlessflyer.com/2009/07/styling-your-widgetized-sidebar/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 05:56:11 +0000</pubDate>
		<dc:creator>michael soriano</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WP Themes]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[get_sidebar]]></category>
		<category><![CDATA[Sidebar]]></category>
		<category><![CDATA[sidebar design]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[widgetized]]></category>
		<category><![CDATA[Widgets]]></category>
		<category><![CDATA[wordpess]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WP]]></category>

		<guid isPermaLink="false">http://fearlessflyer.com/?p=658</guid>
		<description><![CDATA[There’s no real correct way on how a sidebar should look. But since the dawn of HTML, we’ve seen sidebars that span vertically in the left, right – twin column, triple column – heck – I’ve even seen them in the middle! (I guess that wouldn’t be a sidebar then would it?). Nonetheless, the sidebar ]]></description>
			<content:encoded><![CDATA[<p>There’s no real correct way on how a sidebar should look. But since the dawn of HTML, we’ve seen sidebars that span vertically in the left, right – twin column, triple column – heck – I’ve even seen them in the middle! (I guess that wouldn’t be a sidebar then would it?). Nonetheless, the sidebar to me is one of the more exciting components of a website. Furthermore, WordPress has given us the ability to “widgetize” our sidebars – which to a surprise, is very easy to style. </p>
<p>Note that you can “widgetize” almost any of your template files, but for the sake of this article, we will take a look at just the more common, single sidebar. </p>
<h3>First of all &#8211; What are Widgets?</h3>
<p>According to <a href="http://automattic.com/code/widgets/">Automattic</a> (the company behind WordPress), “<em>they’re just things you can use to personalize your WordPress site without knowing HTML</em>”. To elaborate further, widgets are like a fast way to plug in bits of code into your sidebar. Widgets are accessed via the admin panel, under “Appearance” > “Widgets”. Common widgets are Calendar, Meta, Recent Posts, the Tag Cloud and Text. Widgets are not to be confused with “plugins”. Although there are some plugins that become available as “Widgets” once you install them. </p>
<h3>Why use Widgets? </h3>
<p>For theme developers – it is almost a necessity for your theme to be widgetized. This means that you have to tailor your theme to non-savvy users to be able to customize your theme to use these small snippets of code without writing a bit of HMTL. It is a way to cater to their needs as well as expand and utilize the full capability of WordPress. Check out the screenshot below of the Widgets section from the admin panel: </p>
<p><img src="http://fearlessflyer.com/main/wp-content/uploads/2009/07/widgets-1.jpg" alt="widgets 1 Styling Your Widgetized Sidebar" title="Easy UI for managing widgets" width="576" height="400" class="alignnone size-full wp-image-660" /></p>
<p>Now consider the user of your theme doesn’t know any web development – doesn’t this functionality come in very handy? This is why widgetizing your themes is always a good idea.</p>
<h3>Styling Your Widgetized Sidebar</h3>
<p><strong>The Container Approach:</strong></p>
<p>I’m sure you’ve seen this kind of sidebar. It’s one where widgets are compartmentalized or “boxed”. May it be sharp squares, faded edges or even rounded corners – the container approach is definitely one of the more popular sidebar styles around. Take a look at a typical container for a widget: </p>
<p><img src="http://fearlessflyer.com/main/wp-content/uploads/2009/07/widgets-3.jpg" alt="widgets 3 Styling Your Widgetized Sidebar" title="Classic container styling for your widgets" width="576" height="488" class="alignnone size-full wp-image-662" /></p>
<p>As you can see, the entire container can be drawn up by just one DIV. This is what the “<em>before_widget</em>” and “<em>after_widget</em>” name-value pairs are for in your functions.php:</p>
<p><img src="http://fearlessflyer.com/main/wp-content/uploads/2009/07/widgets-2.jpg" alt="widgets 2 Styling Your Widgetized Sidebar" title="Code for the containers" width="576" height="430" class="alignnone size-full wp-image-661" /></p>
<p>Note that declaring a “sidebar-column” div for the widget container – you are now able to style unordered list items, as well as their child elements. As with my example, I’ve designated bigger icons for the parent list-style property, and a smaller arrow button for the children. </p>
<p>Below are a couple of good example websites that use the container approach for their sidebars:  </p>
<p><img src="http://fearlessflyer.com/main/wp-content/uploads/2009/07/widgets-5.jpg" alt="widgets 5 Styling Your Widgetized Sidebar" title="GoMediaZine uses the classic container approach" width="576" height="450" class="alignnone size-full wp-image-664" /><br />
<a href="http://www.gomediazine.com">http://www.gomediazine.com</a></p>
<p><img src="http://fearlessflyer.com/main/wp-content/uploads/2009/07/widgets-4.jpg" alt="widgets 4 Styling Your Widgetized Sidebar" title="So does Blurbia - but with rounded containers" width="576" height="450" class="alignnone size-full wp-image-663" /><br />
<a href="http://www.blurbia.com/blog">http://www.blurbia.com/blog</a></p>
<p><strong>The Continuous Column Approach:</strong></p>
<p>This approach preserves the notion of a sidebar being – just a real bar. May it be in the right side or the left, the continuous column sidebar remains classic, simple and if done right – timeless. </p>
<p>Take a look at the simplicity of this style: </p>
<p><img src="http://fearlessflyer.com/main/wp-content/uploads/2009/07/widgets-6.jpg" alt="widgets 6 Styling Your Widgetized Sidebar" title="Continuous columns are nice too" width="574" height="326" class="alignnone size-full wp-image-665" /></p>
<p>In this case, all I really styled is the headings of each widget. This is what the function.php’s “before_title” and “after_title” comes in handy. I used a regular H3 tag, assigning just the right font style, sufficient padding and a tiny bottom-border image – and it’s ready to go.   </p>
<p>As mentioned, the continuous column approach gives your sidebar that “clean” look. It is used by many news and magazine style blogs in the conservative end. Two popular websites that employ the continuous column approach are:  </p>
<p><img src="http://fearlessflyer.com/main/wp-content/uploads/2009/07/widgets-7.jpg" alt="widgets 7 Styling Your Widgetized Sidebar" title="WooThemes likes their sidebar in a column" width="576" height="450" class="alignnone size-full wp-image-666" /><br />
<a href="http://www.woothemes.com/blog/">http://www.woothemes.com/blog/</a></p>
<p><img src="http://fearlessflyer.com/main/wp-content/uploads/2009/07/widgets-8.jpg" alt="widgets 8 Styling Your Widgetized Sidebar" title="So does Creattica" width="576" height="450" class="alignnone size-full wp-image-667" /><br />
<a href="http://daily.creattica.com/">http://daily.creattica.com/</a></p>
<h3>Anything Goes:</h3>
<p>Anything goes is exactly what it implies. It is very random, no compartments, borders or even visible patterns. Although it is still a column, there is no definite distinction where widgets start or end. Note that this can only be achieved by combining the “<em>fewest similar</em>” widgets, along with static elements. By “fewest similar” I mean widgets that are visually different from one another. For example: “Recent Posts”, “Archives” and “Categories” widgets are all rendered as lists. </p>
<p>Remember – you can play with static elements and combine them with the more dynamic widgets, to give your sidebar a more arbitrary look: </p>
<p><img src="http://fearlessflyer.com/main/wp-content/uploads/2009/07/widgets-9.jpg" alt="widgets 9 Styling Your Widgetized Sidebar" title="Dont be afraid to mix and match!" width="574" height="600" class="alignnone size-full wp-image-668" /></p>
<p>Take a look at these websites that have an “anything goes” style sidebar: </p>
<p><img src="http://fearlessflyer.com/main/wp-content/uploads/2009/07/widgets-10.jpg" alt="widgets 10 Styling Your Widgetized Sidebar" title="Web Designer Walls sidebar" width="576" height="450" class="alignnone size-full wp-image-669" /><br />
<a href="http://www.webdesignerwall.com/">http://www.webdesignerwall.com/</a></p>
<p><img src="http://fearlessflyer.com/main/wp-content/uploads/2009/07/widgets-11.jpg" alt="widgets 11 Styling Your Widgetized Sidebar" title="Dawghouse Design Studio" width="576" height="450" class="alignnone size-full wp-image-659" /><br />
<a href="http://www.dawghousedesignstudio.com/">http://www.dawghousedesignstudio.com/</a></p>
<p><strong>What about you? What’s your take on styling sidebars and widgets?</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://fearlessflyer.com/2009/07/styling-your-widgetized-sidebar/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: fearlessflyer.com @ 2012-02-03 19:32:12 by W3 Total Cache -->
