<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to Change the Header Image or Photo of Your Wordpress Theme</title>
	<atom:link href="http://carolynecooper.com/web-dev/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme/feed" rel="self" type="application/rss+xml" />
	<link>http://carolynecooper.com/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme</link>
	<description>Simply the Stuff To Grow Your Business Now</description>
	<lastBuildDate>Wed, 28 Jul 2010 12:35:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: carolyn</title>
		<link>http://carolynecooper.com/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme/comment-page-1#comment-438</link>
		<dc:creator>carolyn</dc:creator>
		<pubDate>Sun, 11 Apr 2010 00:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=184#comment-438</guid>
		<description>Renee,

Usually, if images have been uploaded and the stylesheet or theme has been edited, but the images don&#039;t appear, it&#039;s a path problem. What do I mean by a path problem? This is when the images are not in the sub-directory that the browser is told to look. Also, you may want to use a .jpg image instead of .png if you are using Internet Explorer (IE) for your browser. While the newer versions of IE supposedly support the .png format, I have had a number of people report problems, particularly with the older versions.

However, let&#039;s take a quick gander at your path issue. 

&lt;strong&gt;Step 1&lt;/strong&gt;
First, you didn&#039;t mention what theme you are using. Different themes use different approaches to customizing stylesheets. Some do everything in the style.css. Others use a base stylesheet and them make a call to a customized stylesheet. And then some have a basic stylesheet and then modify the header.php file in the   section to add customized styling. For example, Magicblue specifies the background images in the header.php file instead of style.css. Alas, there is no consistent way to handle styling. So the first thing you need to do is identify exactly what code needs changing. The easiest way to do this is make a clear change. For example, if the stylesheet has something like this:
&lt;code&gt;
body{
		background: #fff url(&quot;/images/bodybg.gif&quot;);
	}
&lt;/code&gt;

try removing the &lt;code&gt;url(&quot;/images/bodybg.gif&quot;)&lt;/code&gt; and changing the &lt;code&gt;#fff &lt;/code&gt;to read &lt;code&gt;#f00 &lt;/code&gt;(this should make the background bright red). If you see the changes where you expect them, then you have identified the style you need to change.

&lt;strong&gt;Step 2&lt;/strong&gt;

Now, you need to make certain that the path to the image is the directory where the image actually is. Did you notice the code that read &lt;code&gt;url(&quot;&lt;/code&gt;? This is code for the theme path -- the path to the theme directory that is specified as the active theme in the Wordpress Administration. This is usually the best way to specify the first part of the path because it means you don&#039;t have to do a lot of code changes every time you want to change the background image. 

The second part of the path in my example is the part that reads &lt;code&gt;/images/bodybg.gif&quot;&lt;/code&gt;. This tells the browser that the image bodybg.gif is located in the images directory inside the theme directory. &lt;strong&gt; You may need to add the Unix relative path code: &lt;/strong&gt;&lt;code&gt;../&lt;/code&gt;, so that &lt;strong&gt;the full path will read: &lt;code&gt;url(&#039;../images/bodybg.gif&#039;)&lt;/strong&gt;. This is one of the first things to try if your image is in a sub-directory inside your theme directory.

If you don&#039;t use this code, you have specify &lt;strong&gt;&lt;em&gt;exactly &lt;/em&gt;&lt;/strong&gt; the &lt;strong&gt;full path&lt;/strong&gt; to the image. If I were to write out the full path to the bodybg.gif image in the Magicblue theme for my website it would read: &lt;code&gt;url(&quot;http://carolynecooper/wp-content/themes/magicblue/images/bodybg.gif&quot;)&lt;/code&gt;. Ouch! Way too much work.

&lt;strong&gt;The Lazy Person&#039;s Solution&lt;/strong&gt;

I am much too lazy to make all those changes in my stylesheet, so if I all I want to do is swap one background image for another, I do this:

&lt;ol&gt;
	&lt;li&gt;Identify exactly which image I want to change. In my example, I want to change &quot;bodybg.gif&quot;.
&lt;/li&gt;
	&lt;li&gt;Make my new image the exact same size and, ideally, the exact same format, as bodybg.gif.
&lt;/li&gt;
	&lt;li&gt;In my Magicblue Theme /images directory, I make a copy of bodybg.gif (usually by simply re-naming it something like original-bodybg.gif).
&lt;/li&gt;
	&lt;li&gt;Upload my new image into the same Magicblue Theme /images directory and name it bodybg.gif.
&lt;/li&gt;
&lt;/ol&gt;

This way I don&#039;t have to change any of the code. I just have to rename the original image and upload my new image.

&lt;strong&gt;Slight More Complex Solution&lt;/strong&gt;
&lt;ol&gt;
	&lt;li&gt;Identify the image that you want to change.&lt;/li&gt;

	&lt;li&gt;Make my new image the exact same size and whatever format I need (usually ,jpg or .gif until all of the browsers catch up to .png).
&lt;/li&gt;
	&lt;li&gt;Upload my new image (let&#039;s call it new-bodybg.jpg) in the same directory as the current image (in my example case, the Magicblue /images directory where bodybg.gif resides).
&lt;/li&gt;
	&lt;li&gt;Change the stylesheet code so that instead of &lt;code&gt;url(&quot;/images/bodybg.gif&quot;)&lt;/code&gt;, it reads &lt;code&gt;url(&quot;/images/&lt;strong&gt;new-bodybg.jpg&lt;/strong&gt;&quot;)&lt;/code&gt;. 
&lt;/li&gt;
&lt;/ol&gt;


Double check the name. It&#039;s case-sensitive and file format sensitive so everything must match exactly.

I hope that helped. If you are still having a problem, please include the stylesheet or template code that you are trying to change as well as the full path of your new image.

And thank you for visiting the site.</description>
		<content:encoded><![CDATA[<p>Renee,</p>
<p>Usually, if images have been uploaded and the stylesheet or theme has been edited, but the images don&#8217;t appear, it&#8217;s a path problem. What do I mean by a path problem? This is when the images are not in the sub-directory that the browser is told to look. Also, you may want to use a .jpg image instead of .png if you are using Internet Explorer (IE) for your browser. While the newer versions of IE supposedly support the .png format, I have had a number of people report problems, particularly with the older versions.</p>
<p>However, let&#8217;s take a quick gander at your path issue. </p>
<p><strong>Step 1</strong><br />
First, you didn&#8217;t mention what theme you are using. Different themes use different approaches to customizing stylesheets. Some do everything in the style.css. Others use a base stylesheet and them make a call to a customized stylesheet. And then some have a basic stylesheet and then modify the header.php file in the   section to add customized styling. For example, Magicblue specifies the background images in the header.php file instead of style.css. Alas, there is no consistent way to handle styling. So the first thing you need to do is identify exactly what code needs changing. The easiest way to do this is make a clear change. For example, if the stylesheet has something like this:<br />
<code><br />
body{<br />
		background: #fff url("/images/bodybg.gif");<br />
	}<br />
</code></p>
<p>try removing the <code>url("/images/bodybg.gif")</code> and changing the <code>#fff </code>to read <code>#f00 </code>(this should make the background bright red). If you see the changes where you expect them, then you have identified the style you need to change.</p>
<p><strong>Step 2</strong></p>
<p>Now, you need to make certain that the path to the image is the directory where the image actually is. Did you notice the code that read <code>url("</code>? This is code for the theme path &#8212; the path to the theme directory that is specified as the active theme in the Wordpress Administration. This is usually the best way to specify the first part of the path because it means you don&#8217;t have to do a lot of code changes every time you want to change the background image. </p>
<p>The second part of the path in my example is the part that reads <code>/images/bodybg.gif"</code>. This tells the browser that the image bodybg.gif is located in the images directory inside the theme directory. <strong> You may need to add the Unix relative path code: </strong><code>../</code>, so that <strong>the full path will read: <code>url('../images/bodybg.gif')</code></strong>. This is one of the first things to try if your image is in a sub-directory inside your theme directory.</p>
<p>If you don't use this code, you have specify <strong><em>exactly </em></strong> the <strong>full path</strong> to the image. If I were to write out the full path to the bodybg.gif image in the Magicblue theme for my website it would read: <code>url("http://carolynecooper/wp-content/themes/magicblue/images/bodybg.gif")</code>. Ouch! Way too much work.</p>
<p><strong>The Lazy Person's Solution</strong></p>
<p>I am much too lazy to make all those changes in my stylesheet, so if I all I want to do is swap one background image for another, I do this:</p>
<ol>
<li>Identify exactly which image I want to change. In my example, I want to change "bodybg.gif".
</li>
<li>Make my new image the exact same size and, ideally, the exact same format, as bodybg.gif.
</li>
<li>In my Magicblue Theme /images directory, I make a copy of bodybg.gif (usually by simply re-naming it something like original-bodybg.gif).
</li>
<li>Upload my new image into the same Magicblue Theme /images directory and name it bodybg.gif.
</li>
</ol>
<p>This way I don't have to change any of the code. I just have to rename the original image and upload my new image.</p>
<p><strong>Slight More Complex Solution</strong></p>
<ol>
<li>Identify the image that you want to change.</li>
<li>Make my new image the exact same size and whatever format I need (usually ,jpg or .gif until all of the browsers catch up to .png).
</li>
<li>Upload my new image (let's call it new-bodybg.jpg) in the same directory as the current image (in my example case, the Magicblue /images directory where bodybg.gif resides).
</li>
<li>Change the stylesheet code so that instead of <code>url("/images/bodybg.gif")</code>, it reads <code>url("/images/<strong>new-bodybg.jpg</strong>")</code>.
</li>
</ol>
<p>Double check the name. It's case-sensitive and file format sensitive so everything must match exactly.</p>
<p>I hope that helped. If you are still having a problem, please include the stylesheet or template code that you are trying to change as well as the full path of your new image.</p>
<p>And thank you for visiting the site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renee</title>
		<link>http://carolynecooper.com/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme/comment-page-1#comment-437</link>
		<dc:creator>Renee</dc:creator>
		<pubDate>Sat, 10 Apr 2010 01:58:45 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=184#comment-437</guid>
		<description>I created my own image for my blog, uploaded in godaddy cpanel. i also edited the stylesheet on the wordpress site, but the changes have not been reflected on the site. I uploaded 2 new .png files on the cpanel (lifestyle_40-2/IMAGES) folder and they appear to be there. Can you tell you why it is not updating the stylesheet?

the file that the image is in ends in (.png) not (.jpeg)

Help!!!! I&#039;m lost</description>
		<content:encoded><![CDATA[<p>I created my own image for my blog, uploaded in godaddy cpanel. i also edited the stylesheet on the wordpress site, but the changes have not been reflected on the site. I uploaded 2 new .png files on the cpanel (lifestyle_40-2/IMAGES) folder and they appear to be there. Can you tell you why it is not updating the stylesheet?</p>
<p>the file that the image is in ends in (.png) not (.jpeg)</p>
<p>Help!!!! I&#8217;m lost</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carolyn</title>
		<link>http://carolynecooper.com/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme/comment-page-1#comment-415</link>
		<dc:creator>carolyn</dc:creator>
		<pubDate>Mon, 31 Aug 2009 14:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=184#comment-415</guid>
		<description>Jay, there&#039;s always Wordpress.com (remember .com is for creating your own blog) or Google&#039;s Blogspot. Also, Live Journal is still alive and I know a number of bloggers have stayed with them.</description>
		<content:encoded><![CDATA[<p>Jay, there&#8217;s always Wordpress.com (remember .com is for creating your own blog) or Google&#8217;s Blogspot. Also, Live Journal is still alive and I know a number of bloggers have stayed with them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay M.</title>
		<link>http://carolynecooper.com/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme/comment-page-1#comment-414</link>
		<dc:creator>Jay M.</dc:creator>
		<pubDate>Sun, 30 Aug 2009 23:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=184#comment-414</guid>
		<description>Anyone where I can start my own blog.</description>
		<content:encoded><![CDATA[<p>Anyone where I can start my own blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carolyn</title>
		<link>http://carolynecooper.com/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme/comment-page-1#comment-397</link>
		<dc:creator>carolyn</dc:creator>
		<pubDate>Thu, 02 Jul 2009 00:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=184#comment-397</guid>
		<description>Warren, thanks for reading my posts and for asking the question. What I&#039;ve done to answer you is create a new post. You can find it here: &lt;a href=&quot;http://carolynecooper.com/web-dev/how-to-get-rid-of-the-blog-title-and-description-in-the-wordpress-header&quot; rel=&quot;nofollow&quot;&gt;http://carolynecooper.com/web-dev/how-to-get-rid-of-the-blog-title-and-description-in-the-wordpress-header&lt;/a&gt;.

I hope that helps and don&#039;t hesitate to ask if you need more help.</description>
		<content:encoded><![CDATA[<p>Warren, thanks for reading my posts and for asking the question. What I&#8217;ve done to answer you is create a new post. You can find it here: <a href="http://carolynecooper.com/web-dev/how-to-get-rid-of-the-blog-title-and-description-in-the-wordpress-header" rel="nofollow">http://carolynecooper.com/web-dev/how-to-get-rid-of-the-blog-title-and-description-in-the-wordpress-header</a>.</p>
<p>I hope that helps and don&#8217;t hesitate to ask if you need more help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Warren</title>
		<link>http://carolynecooper.com/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme/comment-page-1#comment-396</link>
		<dc:creator>Warren</dc:creator>
		<pubDate>Wed, 01 Jul 2009 00:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=184#comment-396</guid>
		<description>Hi Carolyn

Thanks for you very helpful tips and informative answers to questions.  I am in the very early stages of building my WordPress blog and with your help I was successful in replacing the default header with my own.  The problem I now face is that my new header contains my blog title, so I want to hide the default blog title and tag line from display. (they now overlap) Is there a &quot;coding&quot; way to do that other than blanking them out in my general settings?

Your advice would be most helpful

Thank you 
Warren</description>
		<content:encoded><![CDATA[<p>Hi Carolyn</p>
<p>Thanks for you very helpful tips and informative answers to questions.  I am in the very early stages of building my WordPress blog and with your help I was successful in replacing the default header with my own.  The problem I now face is that my new header contains my blog title, so I want to hide the default blog title and tag line from display. (they now overlap) Is there a &#8220;coding&#8221; way to do that other than blanking them out in my general settings?</p>
<p>Your advice would be most helpful</p>
<p>Thank you<br />
Warren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chaim klein</title>
		<link>http://carolynecooper.com/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme/comment-page-1#comment-287</link>
		<dc:creator>chaim klein</dc:creator>
		<pubDate>Tue, 07 Apr 2009 04:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=184#comment-287</guid>
		<description>Thanks alot for this you just helped me out change the header of theme. thanks alot.</description>
		<content:encoded><![CDATA[<p>Thanks alot for this you just helped me out change the header of theme. thanks alot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carolyn</title>
		<link>http://carolynecooper.com/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme/comment-page-1#comment-242</link>
		<dc:creator>carolyn</dc:creator>
		<pubDate>Mon, 16 Mar 2009 15:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=184#comment-242</guid>
		<description>Mike,

Thanks for reading and writing. Hmmm, if you are deleting the file named &quot;masthead.jpg&quot; in &lt;code&gt;yourdomainname/wp-content/themes/the-name-of-your-theme/images/ &lt;/code&gt;, you should be getting rid of the image in your&lt;code&gt; &lt;div id=&quot;masthead&quot;&gt;&lt;/code&gt; section. There are a couple of possibilities and a test you can run.

The hard code way to solve the problem is to remove the background url call entirely. You can do this by either deleting the line from the CSS tag or you can test it by commenting it. To comment out a line of code in CSS, you want to wrap it in /* and */ like this:

&lt;code&gt;#masthead {
position: relative;
top: 0px;
/* background: url(’images/masthead.jpg’); now this line of code will be ignored */
width: 700px;
height: 225px;
margin: 0px;
margin-top: 0px;
}
&lt;/code&gt;
Or, as I said, you can simply delete that line from your CSS. If you do that and you still see your background image, it means one of 2 things:

&lt;strong&gt;1. The first thing to check is to make absolutely certain you are changing the correct theme and the correct style sheet. &lt;/strong&gt;(Some themes have more than 1 style sheet and the last style sheet loaded tops the first one. I have run across a couple of themes where they load or add custom styling after linking the standard style.css.) I&#039;ve done this. I&#039;ve worked hard at editing a theme and got very frustrated when my changes didn&#039;t appear to have any affect on the browser display and then discovered I had been working on the wrong style sheet.

&lt;strong&gt;2. If you are working on the correct style sheet, then it means that the page has been cached.&lt;/strong&gt; If you have installed and activated the plugin WP Super Cache you won&#039;t see any changes to your theme. I had a student do this in my last class on essential Wordpress SEO. We had been learning how to add new plugins and discussing using WP Super Cache if you ran into a load speed problem with your site &#8212; so naturally, she&#039;d installed it while we were looking at other plugins. Since the next thing we looked at was editing our style sheets in the Wordpress Theme Editor, it caused a small problem. The problem was solved when she deactivated WP Super Cache, cleared her browser cache and re-loaded the page. 

So remove the background line in the correct css, make certain you have cleared your browser cache and then reload the page.

A great way to troubleshoot whether you are working on the wrong style sheet or have a cached page problem, is to change the color of you css body tag to something like &lt;code&gt;color: #ff0000;&lt;/code&gt; &#8212; which will make all of your standard text red &#8212; and add some new text to your index.php or footer.php template like &quot;IF YOU CAN READ THIS THEN THE PAGE IS NOT CACHED!&quot;

I hope this helps solve your problem and thanks again for visiting, Mike!</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>Thanks for reading and writing. Hmmm, if you are deleting the file named &#8220;masthead.jpg&#8221; in <code>yourdomainname/wp-content/themes/the-name-of-your-theme/images/ </code>, you should be getting rid of the image in your<code> &lt;div id="masthead"&gt;</code> section. There are a couple of possibilities and a test you can run.</p>
<p>The hard code way to solve the problem is to remove the background url call entirely. You can do this by either deleting the line from the CSS tag or you can test it by commenting it. To comment out a line of code in CSS, you want to wrap it in /* and */ like this:</p>
<p><code>#masthead {<br />
position: relative;<br />
top: 0px;<br />
/* background: url(’images/masthead.jpg’); now this line of code will be ignored */<br />
width: 700px;<br />
height: 225px;<br />
margin: 0px;<br />
margin-top: 0px;<br />
}<br />
</code><br />
Or, as I said, you can simply delete that line from your CSS. If you do that and you still see your background image, it means one of 2 things:</p>
<p><strong>1. The first thing to check is to make absolutely certain you are changing the correct theme and the correct style sheet. </strong>(Some themes have more than 1 style sheet and the last style sheet loaded tops the first one. I have run across a couple of themes where they load or add custom styling after linking the standard style.css.) I&#8217;ve done this. I&#8217;ve worked hard at editing a theme and got very frustrated when my changes didn&#8217;t appear to have any affect on the browser display and then discovered I had been working on the wrong style sheet.</p>
<p><strong>2. If you are working on the correct style sheet, then it means that the page has been cached.</strong> If you have installed and activated the plugin WP Super Cache you won&#8217;t see any changes to your theme. I had a student do this in my last class on essential Wordpress SEO. We had been learning how to add new plugins and discussing using WP Super Cache if you ran into a load speed problem with your site &#8212; so naturally, she&#8217;d installed it while we were looking at other plugins. Since the next thing we looked at was editing our style sheets in the Wordpress Theme Editor, it caused a small problem. The problem was solved when she deactivated WP Super Cache, cleared her browser cache and re-loaded the page. </p>
<p>So remove the background line in the correct css, make certain you have cleared your browser cache and then reload the page.</p>
<p>A great way to troubleshoot whether you are working on the wrong style sheet or have a cached page problem, is to change the color of you css body tag to something like <code>color: #ff0000;</code> &#8212; which will make all of your standard text red &#8212; and add some new text to your index.php or footer.php template like &#8220;IF YOU CAN READ THIS THEN THE PAGE IS NOT CACHED!&#8221;</p>
<p>I hope this helps solve your problem and thanks again for visiting, Mike!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://carolynecooper.com/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme/comment-page-1#comment-239</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 16 Mar 2009 14:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=184#comment-239</guid>
		<description>Brad,

I loved your post and attempted to do everything as you layed out for changing the image when it is a CSS tag.  However, after doing it all like you posted, it still did not work.  Here is what the style.css code shows:

#masthead {
	position: relative;
	top: 0px;
	background: url(&#039;images/masthead.jpg&#039;);
 	width: 700px;
 	height: 225px;
	margin: 0px;
	margin-top: 0px;
}

I found that I could actually delete the file called &quot;masthead.jpg&quot; altogether from the images folder within the theme (via ftp folder) ... but that didn&#039;t change it either.  This leaves me to believe that it is somehow pulling the image from a different url than what the code shows above.  Could that be possible?

Thanks!
Mike</description>
		<content:encoded><![CDATA[<p>Brad,</p>
<p>I loved your post and attempted to do everything as you layed out for changing the image when it is a CSS tag.  However, after doing it all like you posted, it still did not work.  Here is what the style.css code shows:</p>
<p>#masthead {<br />
	position: relative;<br />
	top: 0px;<br />
	background: url(&#8216;images/masthead.jpg&#8217;);<br />
 	width: 700px;<br />
 	height: 225px;<br />
	margin: 0px;<br />
	margin-top: 0px;<br />
}</p>
<p>I found that I could actually delete the file called &#8220;masthead.jpg&#8221; altogether from the images folder within the theme (via ftp folder) &#8230; but that didn&#8217;t change it either.  This leaves me to believe that it is somehow pulling the image from a different url than what the code shows above.  Could that be possible?</p>
<p>Thanks!<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carolyn</title>
		<link>http://carolynecooper.com/wp/how-to-change-the-header-image-or-photo-of-your-wordpress-theme/comment-page-1#comment-53</link>
		<dc:creator>carolyn</dc:creator>
		<pubDate>Wed, 04 Feb 2009 19:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=184#comment-53</guid>
		<description>Dan,

Thanks for the kinds words. There are several ways of replacing a single image with multiple images depending upon the actual header.php layout and code. The easiest is to wrap the images in a  tag that defines in the CSS code the length, margins, padding, borders and so forth for the space in which the images are being placed and then placing multiple images. For example,

&lt;code&gt;
&lt; div id=&quot;header&quot;&gt;
&lt;img src=&quot;image1&quot; alt=&quot;&quot; /&gt;&lt;img src=&quot;image2&quot; alt=&quot;&quot; /&gt;&lt;img src=&quot;image3&quot; alt=&quot;&quot; /&gt;&lt;img src=&quot;image4&quot; alt=&quot;&quot; /&gt;
&lt; div id=&quot;header&quot;/&gt; &lt;!-- This is the end of the header division --&gt;
&lt;/code&gt;

You might choose to specify the width of each image to speed up loading but make certain the total widths add up to nothing larger than the maximum width of your current image.

The CSS might look something like this:
#header {
      width: 760px;
      height: 151 px;
      padding: 0;
}

#header img {
     margin: 0;
     padding: 0;
     border: none;
}

I took a look at your current site and did find a problem with your HTML, however. Your header tag includes the closing tag attribute. It shouldn&#039;t do this. Basically, you are opening and closing your header division with nothing in between. This is treating it like a singleton tag. A singleton tag is an HTML tag that opens and closes in a single line. Very few tags should do this. The two most common are the break tag &lt;br /&gt; and the image tag &lt;img /&gt;. 

Right now the code looks like this:

&lt;code&gt;
&lt; div id=&quot;header&quot;/&gt;
&lt;img id=&quot;frontphoto&quot; height=&quot;151&quot; width=&quot;760&quot; alt=&quot;&quot; src=&quot;http://youngandfoodish.com/wp-content/themes/wp-andreas01/img/finn.jpg&quot;/&gt;
&lt;/code&gt;

It should look like this:
&lt;code&gt;
&lt; div id=&quot;header&quot;&gt;
&lt;img id=&quot;frontphoto&quot; height=&quot;151&quot; width=&quot;760&quot; alt=&quot;&quot; src=&quot;http://youngandfoodish.com/wp-content/themes/wp-andreas01/img/finn.jpg&quot;/&gt;
&lt; div id=&quot;header&quot;/&gt;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Dan,</p>
<p>Thanks for the kinds words. There are several ways of replacing a single image with multiple images depending upon the actual header.php layout and code. The easiest is to wrap the images in a  tag that defines in the CSS code the length, margins, padding, borders and so forth for the space in which the images are being placed and then placing multiple images. For example,</p>
<p><code><br />
&lt; div id="header"&gt;<br />
&lt;img src="image1" alt="" /&gt;&lt;img src="image2" alt="" /&gt;&lt;img src="image3" alt="" /&gt;&lt;img src="image4" alt="" /&gt;<br />
&lt; div id="header"/&gt; <!-- This is the end of the header division --><br />
</code></p>
<p>You might choose to specify the width of each image to speed up loading but make certain the total widths add up to nothing larger than the maximum width of your current image.</p>
<p>The CSS might look something like this:<br />
#header {<br />
      width: 760px;<br />
      height: 151 px;<br />
      padding: 0;<br />
}</p>
<p>#header img {<br />
     margin: 0;<br />
     padding: 0;<br />
     border: none;<br />
}</p>
<p>I took a look at your current site and did find a problem with your HTML, however. Your header tag includes the closing tag attribute. It shouldn&#8217;t do this. Basically, you are opening and closing your header division with nothing in between. This is treating it like a singleton tag. A singleton tag is an HTML tag that opens and closes in a single line. Very few tags should do this. The two most common are the break tag &lt;br /&gt; and the image tag &lt;img /&gt;. </p>
<p>Right now the code looks like this:</p>
<p><code><br />
&lt; div id="header"/&gt;<br />
&lt;img id="frontphoto" height="151" width="760" alt="" src="http://youngandfoodish.com/wp-content/themes/wp-andreas01/img/finn.jpg"/&gt;<br />
</code></p>
<p>It should look like this:<br />
<code><br />
&lt; div id="header"&gt;<br />
&lt;img id="frontphoto" height="151" width="760" alt="" src="http://youngandfoodish.com/wp-content/themes/wp-andreas01/img/finn.jpg"/&gt;<br />
&lt; div id="header"/&gt;<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
