<?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 Your Wordpress Theme Background CSS</title>
	<atom:link href="http://carolynecooper.com/web-dev/wp/how-to-change-your-wordpress-theme-background-css/feed" rel="self" type="application/rss+xml" />
	<link>http://carolynecooper.com/wp/how-to-change-your-wordpress-theme-background-css</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: Sanjiv</title>
		<link>http://carolynecooper.com/wp/how-to-change-your-wordpress-theme-background-css/comment-page-1#comment-482</link>
		<dc:creator>Sanjiv</dc:creator>
		<pubDate>Mon, 05 Jul 2010 06:32:25 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=190#comment-482</guid>
		<description>Hey Carolyn,
I got it . Your 2nd suggestion worked and I got  the white background, which i wanted.
Thanks a million, &#039;cause I have been trying do this since quite some time.
sanjiv.</description>
		<content:encoded><![CDATA[<p>Hey Carolyn,<br />
I got it . Your 2nd suggestion worked and I got  the white background, which i wanted.<br />
Thanks a million, &#8217;cause I have been trying do this since quite some time.<br />
sanjiv.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carolyn</title>
		<link>http://carolynecooper.com/wp/how-to-change-your-wordpress-theme-background-css/comment-page-1#comment-481</link>
		<dc:creator>carolyn</dc:creator>
		<pubDate>Mon, 05 Jul 2010 05:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=190#comment-481</guid>
		<description>Thanks for the kind words. I try to help. 

 I think I see the problem by viewing your website link and if you are in a hurry, just skip to the bottom of this reply. But if you want to learn how to track down the problem, read on.

Okay. There are some possibilities for why changing a background style doesn&#039;t have any affect. 

1. You didn&#039;t change the right style.
2. The background is actually a graphic image.
3. You didn&#039;t change the style in the correct stylesheet.

Let&#039;s start backwards because the last one is the easiest to test.

Some stylesheets either have a custom CSS file that overrides the default or call on a CSS file that is stored somewhere else (I know, weird and dumb, but you know how geeks are -- they&#039;ve got to show off how clever they are). Anyway, to make certain you are changing the correct stylesheet.  If possible, make a backup of your stylesheet. (Actually, you should keep a backup of your theme on your own hard drive just to be safe.)

1. Look again at your theme stylesheet in the Appearance Editor (the file name is style.css in most cases).

2. Now look for your base body tag which will look something like this:
&lt;code&gt;body { &lt;/code&gt;
If it has a background color, change it to something audacious like bright red. &lt;strong&gt;B&lt;em&gt;ut before you do, make a note of the current color.&lt;/em&gt; &lt;/strong&gt;If it doesn&#039;t have a background color, let&#039;s make one.
&lt;code&gt;body {background-color: #ff0000;}&lt;/code&gt;

If you have a background graphic, your body tag will look something like this: 
&lt;code&gt;body{
	background:#c35d8a url(&#039;img/header.png&#039;) repeat-x;&lt;/code&gt;

You will want to hide that temporarily, by doing this: 
&lt;code&gt;body{
	/*background:#c35d8a url(&#039;img/header.png&#039;) repeat-x;*/&lt;/code&gt; (This completely comments out the background.)

Did that change the background? If yes, then you know you are changing the correct stylesheet. If not, then you know you need to hunt for a custom stylesheet. But before you do that, quickly restore your stylesheet to the way it was.

To find out what stylesheets are being used by your theme, open a new browser tab or window and then select view source from your browser options (&lt;em&gt;Safari:&lt;/em&gt; It&#039;s under Develop &gt;&gt; Web Inspector; &lt;em&gt;Chrome:&lt;/em&gt; It&#039;s View &gt;&gt; Developer &gt;&gt; View Source; &lt;em&gt;Firefox:&lt;/em&gt; It&#039;s View &gt;&gt;Page Source; &lt;em&gt;Internet Explorer:&lt;/em&gt; Sorry, dude, I can&#039;t help you. I won&#039;t have that browser on my machines.) You want to look at the top in the &lt;code&gt;head&lt;/code&gt; section for things that say &quot;stylesheet&quot; like this: &lt;code&gt;

&lt;link rel=&quot;stylesheet&quot; href=&quot;http://carolynecooper.com/wp-content/themes/thesis_17/&lt;strong&gt;style.css&lt;/strong&gt;?060410-205319&quot; type=&quot;text/css&quot; media=&quot;screen, projection&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;http://carolynecooper.com/wp-content/themes/thesis_17/&lt;strong&gt;custom/layout.css&lt;/strong&gt;?062810-35811&quot; type=&quot;text/css&quot; media=&quot;screen, projection&quot; /&gt;
&lt;!--[if lte IE 8]&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;http://carolynecooper.com/wp-content/themes/thesis_17/&lt;strong&gt;lib/css/ie.css&lt;/strong&gt;?060410-205239&quot; type=&quot;text/css&quot; media=&quot;screen, projection&quot; /&gt;&lt;![endif]--&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;http://carolynecooper.com/wp-content/themes/thesis_17&lt;strong&gt;/custom/custom.css&lt;/strong&gt;?063010-15755&quot; type=&quot;text/css&quot; media=&quot;screen, projection&quot; /&gt;
&lt;/code&gt;

In this example, I have 4 stylesheets loaded: style.css; layout.css which is in the /custom subdirectory; ie.css in the /lib/css subdirectory; and custom.css in the /custom subdirectory. &lt;strong&gt;Since custom.css is the last one loaded by the browser, it trumps all other styles. &lt;/strong&gt;&lt;em&gt;So if there is something in that custom.css that says my background-color is white, then I can make all the changes I want to style.css&lt;/em&gt; (the first stylesheet loaded) &lt;em&gt;and it won&#039;t have any affect.&lt;/em&gt;

So now you have made certain you are working with the correct stylesheet, look at the actual source and make certain there isn&#039;t a wrapper around your content. For example, if you View Source for this website you will see that immediately after the &lt;code&gt;body&lt;/code&gt; tag, there are &lt;code&gt;div&lt;/code&gt; tags before any content appears.
&lt;code&gt;
&lt;body class=&quot;custom cat_wp&quot;&gt;
&lt;div id=&quot;container&quot;&gt;
&lt;div id=&quot;page&quot;&gt;
&lt;/code&gt;

So in my case, if I wanted to change the background, I might need to change the style for &lt;code&gt;#container&lt;/code&gt; or &lt;code&gt;#page&lt;/code&gt;. 

Check your source and see if your theme wraps all the content inside a container or wrapper tag.

&lt;strong&gt;Here&#039;s you&#039;re problem, Sanjiv, &lt;/strong&gt;
you&#039;re content is wrapped in a couple of styles.
&lt;body class=&quot;hideHeaderMenu1&quot;&gt;&lt;a name=&quot;top&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&lt;a id=&quot;skipToPosts&quot; href=&quot;#content&quot; rel=&quot;nofollow&quot;&gt;Skip to posts&lt;/a&gt;
&lt;div class=&quot;pageContainer&quot;&gt;

Look first at the style &lt;code&gt;.hidHeaderMenu1&lt;/code&gt;. According to Safari&#039;s Web Inspector, it has the background style: &lt;code&gt;background: white url(http://mediconweb.com/wp-content/themes/arjuna-x/images/pageBG.png) repeat-x 0px 0px;&lt;/code&gt; In other words, your theme uses a graphic background named pageBG.png. Just delete the &lt;code&gt; url(http://mediconweb.com/wp-content/themes/arjuna-x/images/pageBG.png) repeat-x 0px 0px;&lt;/code&gt; bit and I bet that solves your problem.

Let me know if you have any more questions. And thanks for stopping by.</description>
		<content:encoded><![CDATA[<p>Thanks for the kind words. I try to help. </p>
<p> I think I see the problem by viewing your website link and if you are in a hurry, just skip to the bottom of this reply. But if you want to learn how to track down the problem, read on.</p>
<p>Okay. There are some possibilities for why changing a background style doesn&#8217;t have any affect. </p>
<p>1. You didn&#8217;t change the right style.<br />
2. The background is actually a graphic image.<br />
3. You didn&#8217;t change the style in the correct stylesheet.</p>
<p>Let&#8217;s start backwards because the last one is the easiest to test.</p>
<p>Some stylesheets either have a custom CSS file that overrides the default or call on a CSS file that is stored somewhere else (I know, weird and dumb, but you know how geeks are &#8212; they&#8217;ve got to show off how clever they are). Anyway, to make certain you are changing the correct stylesheet.  If possible, make a backup of your stylesheet. (Actually, you should keep a backup of your theme on your own hard drive just to be safe.)</p>
<p>1. Look again at your theme stylesheet in the Appearance Editor (the file name is style.css in most cases).</p>
<p>2. Now look for your base body tag which will look something like this:<br />
<code>body { </code><br />
If it has a background color, change it to something audacious like bright red. <strong>B<em>ut before you do, make a note of the current color.</em> </strong>If it doesn&#8217;t have a background color, let&#8217;s make one.<br />
<code>body {background-color: #ff0000;}</code></p>
<p>If you have a background graphic, your body tag will look something like this:<br />
<code>body{<br />
	background:#c35d8a url('img/header.png') repeat-x;</code></p>
<p>You will want to hide that temporarily, by doing this:<br />
<code>body{<br />
	/*background:#c35d8a url('img/header.png') repeat-x;*/</code> (This completely comments out the background.)</p>
<p>Did that change the background? If yes, then you know you are changing the correct stylesheet. If not, then you know you need to hunt for a custom stylesheet. But before you do that, quickly restore your stylesheet to the way it was.</p>
<p>To find out what stylesheets are being used by your theme, open a new browser tab or window and then select view source from your browser options (<em>Safari:</em> It&#8217;s under Develop >> Web Inspector; <em>Chrome:</em> It&#8217;s View >> Developer >> View Source; <em>Firefox:</em> It&#8217;s View >>Page Source; <em>Internet Explorer:</em> Sorry, dude, I can&#8217;t help you. I won&#8217;t have that browser on my machines.) You want to look at the top in the <code>head</code> section for things that say &#8220;stylesheet&#8221; like this: <code></p>
<p>&lt;link rel="stylesheet" href="http://carolynecooper.com/wp-content/themes/thesis_17/<strong>style.css</strong>?060410-205319" type="text/css" media="screen, projection" /&gt;<br />
&lt;link rel="stylesheet" href="http://carolynecooper.com/wp-content/themes/thesis_17/<strong>custom/layout.css</strong>?062810-35811" type="text/css" media="screen, projection" /&gt;<br />
&lt;!--[if lte IE 8]&gt;&lt;link rel="stylesheet" href="http://carolynecooper.com/wp-content/themes/thesis_17/<strong>lib/css/ie.css</strong>?060410-205239" type="text/css" media="screen, projection" /&gt;&lt;![endif]--&gt;<br />
&lt;link rel="stylesheet" href="http://carolynecooper.com/wp-content/themes/thesis_17<strong>/custom/custom.css</strong>?063010-15755" type="text/css" media="screen, projection" /&gt;<br />
</code></p>
<p>In this example, I have 4 stylesheets loaded: style.css; layout.css which is in the /custom subdirectory; ie.css in the /lib/css subdirectory; and custom.css in the /custom subdirectory. <strong>Since custom.css is the last one loaded by the browser, it trumps all other styles. </strong><em>So if there is something in that custom.css that says my background-color is white, then I can make all the changes I want to style.css</em> (the first stylesheet loaded) <em>and it won&#8217;t have any affect.</em></p>
<p>So now you have made certain you are working with the correct stylesheet, look at the actual source and make certain there isn&#8217;t a wrapper around your content. For example, if you View Source for this website you will see that immediately after the <code>body</code> tag, there are <code>div</code> tags before any content appears.<br />
<code><br />
&lt;body class="custom cat_wp"&gt;<br />
&lt;div id="container"&gt;<br />
&lt;div id="page"&gt;<br />
</code></p>
<p>So in my case, if I wanted to change the background, I might need to change the style for <code>#container</code> or <code>#page</code>. </p>
<p>Check your source and see if your theme wraps all the content inside a container or wrapper tag.</p>
<p><strong>Here&#8217;s you&#8217;re problem, Sanjiv, </strong><br />
you&#8217;re content is wrapped in a couple of styles.<br />
&lt;body class=&#8221;hideHeaderMenu1&#8243;&gt;&lt;a name=&#8221;top&#8221; rel=&#8221;nofollow&#8221;&gt;&lt;/a&gt;&lt;a id=&#8221;skipToPosts&#8221; href=&#8221;#content&#8221; rel=&#8221;nofollow&#8221;&gt;Skip to posts&lt;/a&gt;<br />
&lt;div class=&#8221;pageContainer&#8221;&gt;</p>
<p>Look first at the style <code>.hidHeaderMenu1</code>. According to Safari&#8217;s Web Inspector, it has the background style: <code>background: white url(http://mediconweb.com/wp-content/themes/arjuna-x/images/pageBG.png) repeat-x 0px 0px;</code> In other words, your theme uses a graphic background named pageBG.png. Just delete the <code> url(http://mediconweb.com/wp-content/themes/arjuna-x/images/pageBG.png) repeat-x 0px 0px;</code> bit and I bet that solves your problem.</p>
<p>Let me know if you have any more questions. And thanks for stopping by.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjiv</title>
		<link>http://carolynecooper.com/wp/how-to-change-your-wordpress-theme-background-css/comment-page-1#comment-480</link>
		<dc:creator>Sanjiv</dc:creator>
		<pubDate>Mon, 05 Jul 2010 03:07:45 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=190#comment-480</guid>
		<description>Hi Carolyne, 
I explored  in google for instructions on how to change the background color of my free wordpress theme. It is grey and I want to change it to white. It is only in your article that I could find a very exhaustive explanation. Kudos to you. 
But Carolyne,I followed everything you have said , yet the color would not change. I substituted Background#d9d9d9 with #ffffff and clicked &quot;update file&quot;. The yellow band appeared saying that &quot;File edited successfully&quot;. But the background color has not changed. What could I have possibly missed?</description>
		<content:encoded><![CDATA[<p>Hi Carolyne,<br />
I explored  in google for instructions on how to change the background color of my free wordpress theme. It is grey and I want to change it to white. It is only in your article that I could find a very exhaustive explanation. Kudos to you.<br />
But Carolyne,I followed everything you have said , yet the color would not change. I substituted Background#d9d9d9 with #ffffff and clicked &#8220;update file&#8221;. The yellow band appeared saying that &#8220;File edited successfully&#8221;. But the background color has not changed. What could I have possibly missed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carolyn</title>
		<link>http://carolynecooper.com/wp/how-to-change-your-wordpress-theme-background-css/comment-page-1#comment-429</link>
		<dc:creator>carolyn</dc:creator>
		<pubDate>Mon, 07 Dec 2009 21:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=190#comment-429</guid>
		<description>Joni, thanks for the kind words. Regarding changing the &quot;the entire background of all the images that appear on the page&quot;, I&#039;m not exactly certain what you mean. I&#039;ve created a special post to answer your question. You can find it by clicking here: &lt;a href=&quot;http://carolynecooper.com/web-dev/wp/how-the-background-color-of-images-can-be-changed&quot; rel=&quot;nofollow&quot;&gt;How the Background Color of Images Can Be Changed&lt;/a&gt;

I hope this helped answer your question. Please feel free to contact me if you need more help and thanks again for the kind words about my tutorial.</description>
		<content:encoded><![CDATA[<p>Joni, thanks for the kind words. Regarding changing the &#8220;the entire background of all the images that appear on the page&#8221;, I&#8217;m not exactly certain what you mean. I&#8217;ve created a special post to answer your question. You can find it by clicking here: <a href="http://carolynecooper.com/web-dev/wp/how-the-background-color-of-images-can-be-changed" rel="nofollow">How the Background Color of Images Can Be Changed</a></p>
<p>I hope this helped answer your question. Please feel free to contact me if you need more help and thanks again for the kind words about my tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joni</title>
		<link>http://carolynecooper.com/wp/how-to-change-your-wordpress-theme-background-css/comment-page-1#comment-428</link>
		<dc:creator>Joni</dc:creator>
		<pubDate>Sun, 06 Dec 2009 05:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=190#comment-428</guid>
		<description>Hi Carolyn;
Your tutorial is the simplest and easiest I&#039;ve seen yet.

What I would like to do is change the entire background of all the images that appear on the page.

The theme base isn&#039;t something I need changing so much but all the image backgrounds and logo are what I would like to change. Is that possible?</description>
		<content:encoded><![CDATA[<p>Hi Carolyn;<br />
Your tutorial is the simplest and easiest I&#8217;ve seen yet.</p>
<p>What I would like to do is change the entire background of all the images that appear on the page.</p>
<p>The theme base isn&#8217;t something I need changing so much but all the image backgrounds and logo are what I would like to change. Is that possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carolyn</title>
		<link>http://carolynecooper.com/wp/how-to-change-your-wordpress-theme-background-css/comment-page-1#comment-410</link>
		<dc:creator>carolyn</dc:creator>
		<pubDate>Wed, 05 Aug 2009 16:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=190#comment-410</guid>
		<description>RS,
Changing background images is a little more complex than changing the background color. You have to upload your image, usually to your themes directory, and then modify the body tag in your stylesheet with not only the path to the image file, but information about positioning. To help you out, I wrote a separate post with the steps that you can find &lt;a href=&quot;http://carolynecooper.com/web-dev/how-to-change-your-wordpress-background-image&quot; rel=&quot;nofollow&quot;&gt;here: http://carolynecooper.com/web-dev/how-to-change-your-wordpress-background-image. &lt;/a&gt;

I hope this answers your question and helps you out.

p.s. You can use the file your uploaded to your media directory but it requires a little more precision in the background URL attribute, particularly if you left your upload directory settings on default when you installed Wordpress. By default, Wordpress organizes your media uploads by year and month. Getting the path correct can be a real pain.</description>
		<content:encoded><![CDATA[<p>RS,<br />
Changing background images is a little more complex than changing the background color. You have to upload your image, usually to your themes directory, and then modify the body tag in your stylesheet with not only the path to the image file, but information about positioning. To help you out, I wrote a separate post with the steps that you can find <a href="http://carolynecooper.com/web-dev/how-to-change-your-wordpress-background-image" rel="nofollow">here: </a><a href="http://carolynecooper.com/web-dev/how-to-change-your-wordpress-background-image" rel="nofollow">http://carolynecooper.com/web-dev/how-to-change-your-wordpress-background-image</a>. </p>
<p>I hope this answers your question and helps you out.</p>
<p>p.s. You can use the file your uploaded to your media directory but it requires a little more precision in the background URL attribute, particularly if you left your upload directory settings on default when you installed Wordpress. By default, Wordpress organizes your media uploads by year and month. Getting the path correct can be a real pain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rs</title>
		<link>http://carolynecooper.com/wp/how-to-change-your-wordpress-theme-background-css/comment-page-1#comment-409</link>
		<dc:creator>Rs</dc:creator>
		<pubDate>Tue, 04 Aug 2009 23:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=190#comment-409</guid>
		<description>hi, thanks so much for the tutorial above. I have a further question on the same lines. I figured out how to change the color, but i want to change the background color to an imge that is on my desktop, a jpg file saved on my desktop. I havent been able to figure out where to upload the file to..i use wordpress, and tried putting it in to my media files, but that didnt help. and i have no clue of where the code has to be changed.
Please help.
Regards,
R</description>
		<content:encoded><![CDATA[<p>hi, thanks so much for the tutorial above. I have a further question on the same lines. I figured out how to change the color, but i want to change the background color to an imge that is on my desktop, a jpg file saved on my desktop. I havent been able to figure out where to upload the file to..i use wordpress, and tried putting it in to my media files, but that didnt help. and i have no clue of where the code has to be changed.<br />
Please help.<br />
Regards,<br />
R</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: femke</title>
		<link>http://carolynecooper.com/wp/how-to-change-your-wordpress-theme-background-css/comment-page-1#comment-408</link>
		<dc:creator>femke</dc:creator>
		<pubDate>Wed, 22 Jul 2009 10:57:40 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=190#comment-408</guid>
		<description>tx, really usefull post!</description>
		<content:encoded><![CDATA[<p>tx, really usefull post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhi</title>
		<link>http://carolynecooper.com/wp/how-to-change-your-wordpress-theme-background-css/comment-page-1#comment-336</link>
		<dc:creator>abhi</dc:creator>
		<pubDate>Mon, 08 Jun 2009 06:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=190#comment-336</guid>
		<description>really great explanation for a simple thing .. i admire your patience ^^ 


http://techtadka.net/tutorials/web-tutorials/201-how-to-change-a-wordpress-theme.html</description>
		<content:encoded><![CDATA[<p>really great explanation for a simple thing .. i admire your patience ^^ </p>
<p><a href="http://techtadka.net/tutorials/web-tutorials/201-how-to-change-a-wordpress-theme.html" rel="nofollow">http://techtadka.net/tutorials/web-tutorials/201-how-to-change-a-wordpress-theme.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slym</title>
		<link>http://carolynecooper.com/wp/how-to-change-your-wordpress-theme-background-css/comment-page-1#comment-326</link>
		<dc:creator>Slym</dc:creator>
		<pubDate>Wed, 20 May 2009 10:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://carolynecooper.com/?p=190#comment-326</guid>
		<description>this is really a great tutorial, i was looking something similar and hope it will serve my purpose. I am moving from blogger to wordpress and finding difficulty in terms of updating coding.

But hope soon i will be able to fix everyrhing</description>
		<content:encoded><![CDATA[<p>this is really a great tutorial, i was looking something similar and hope it will serve my purpose. I am moving from blogger to wordpress and finding difficulty in terms of updating coding.</p>
<p>But hope soon i will be able to fix everyrhing</p>
]]></content:encoded>
	</item>
</channel>
</rss>
