<?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>WooThemes &#187; theme customization</title>
	<atom:link href="http://www.woothemes.com/tag/theme-customization/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.woothemes.com</link>
	<description>Premium WordPress Themes</description>
	<lastBuildDate>Sun, 12 Feb 2012 21:41:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Customizing your theme with Firebug</title>
		<link>http://www.woothemes.com/2009/01/customizing-your-theme-with-firebug/</link>
		<comments>http://www.woothemes.com/2009/01/customizing-your-theme-with-firebug/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 14:25:31 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[theme customization]]></category>

		<guid isPermaLink="false">http://www.woothemes.com/?p=700</guid>
		<description><![CDATA[Firebug is a great add-on extension to the popular web browser Firefox. It can help you make CSS changes in real-time and will help you locate where the CSS rules are defined and where in the file they are. It makes it even easier to customise any WooTheme. This tutorial is going to go through [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.getfirebug.com">Firebug</a> is a great add-on extension to the popular web browser Firefox. It can help you make CSS changes in real-time and will help you locate where the CSS rules are defined and where in the file they are. It makes it even easier to customise any WooTheme. This tutorial is going to go through the basics of editing a style with Firebug, and then editing the CSS to save the new styling.</p>
<h3>Video Tutorial</h3>
<p><iframe src="http://player.vimeo.com/video/20917974?title=0&amp;byline=0&amp;portrait=0" width="590" height="332" frameborder="0"></iframe></p>
<h3>Downloading Firebug</h3>
<p>You can download Firebug by visiting the Add-ons Repository <a href="https://addons.mozilla.org/en-US/firefox/addon/1843">here</a>. You may need to restart your browser after installing it.</p>
<p>To change a style in Firebug, right click on the area you wish to change and choose the <em>Inspect Element</em> option. The Firebug window will open up at the bottom of the screen, and you can see the HTML of the page on the left, and the CSS of the element you clicked on on the right. You can change any of the CSS and it will automatically update the page so you can see your changes in action. When you&#8217;re happy with them, you can add it to your CSS file.</p>
<p>We will be attempting to change the link color of our <a href="http://www.woothemes.com/2008/11/gotham-news/">Gotham News</a> theme, with the default style, to a color of your choice.</p>
<h3>Finding the CSS</h3>
<p>You&#8217;ll need to open Firefox and go to your WordPress installation with Gotham News selected as the theme. Choose the default style for now, you can do the same techniques here to other stylesheets later.</p>
<p>Considering we&#8217;re going to change the link colours, right click on any normal link (ie. in a post or page), and choose the <em>Inspect Element</em> option. The Firebug window should open and show you all the CSS styling for the link.</p>
<div id="attachment_707" class="wp-caption alignnone" style="width: 560px"><a href="http://cdn.woothemes.com/wp-content/uploads/2009/01/element-styles.png"><img class="size-medium wp-image-707" title="element-styles" src="http://cdn.woothemes.com/wp-content/uploads/2009/01/element-styles-550x262.png" alt="" width="550" height="262" /></a><p class="wp-caption-text">Right click the link and select Inspect Element</p></div>
<p>Click on the <em>color:</em> attribute and you will find that you can change the colour. Change it to whatever you like, you can visit <a href="http://ficml.org/jemimap/style/color/wheel.html">this site for a colour wheel</a> with the relevant codes. When you change the colour in the Firebug window, it automatically updates on the page, so you will find your links all changing to match the new style.</p>
<div id="attachment_706" class="wp-caption alignnone" style="width: 400px"><img class="size-full wp-image-706" title="element-edit" src="http://cdn.woothemes.com/wp-content/uploads/2009/01/element-edit.png" alt="Click on any value in the CSS edit window" width="390" height="243" /><p class="wp-caption-text">Click on any value in the CSS edit window</p></div>
<p>However, these changes are not permanent yet! If you refresh the page, you will find that your changes are lost, because Firebug is only editing on the client side (eg. your web browser) and not on your web server. Let&#8217;s go and add those into the stylesheet.</p>
<h3>Saving your changes</h3>
<p>So, we would like to save our changes to our CSS files. The first step is to find what CSS file our styles are defined in. As in the screenshot, take a look at the right-aligned text above the <em>a</em> element in Firebug. That is the file our styles are in &#8211; <em>style.css</em> &#8211; and the line number of the styles &#8211; <em>line 46</em>.</p>
<div id="attachment_705" class="wp-caption alignnone" style="width: 400px"><img class="size-full wp-image-705" title="css-file" src="http://cdn.woothemes.com/wp-content/uploads/2009/01/css-file.png" alt="Find the correct file to edit" width="390" height="243" /><p class="wp-caption-text">Find the correct file to edit</p></div>
<p>You can now view the <em>style.css</em> file from your theme editor ( Apperance -&gt; Editor ) and find line 46, and you should find the following there:</p>
<pre class="brush:css">a {
	color: #006DAD;
	text-decoration: none;
}</pre>
<p>Copy this style to your custom.css file. Any style you define in custom.css will override the styles in style.css. You can read the <a href="http://www.woothemes.com/2009/09/best-practices-when-customizing-a-wootheme/">Best practices when customizing a WooTheme</a> tutorial to learn more on how to best customize your theme.</p>
<h3>Doing a bit more!</h3>
<p>You can use Firebug to make changes to almost anything in your themes. For example, you could use it to change the background image of the header, you could use it to add extra padding around a picture, or change the background colours of the sidebar tabs. Firebug is your CSS buddy when it comes to WordPress!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.woothemes.com/2009/01/customizing-your-theme-with-firebug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc (Feed is rejected)
Object Caching 273/283 objects using apc
Content Delivery Network via cdn.woothemes.com

Served from: www.woothemes.com @ 2012-02-13 06:13:53 -->
