Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] Change Background Color of Sidebar on Home Page (http://forum.bytesforall.com/showthread.php?t=9550)

c12281 Sep 10, 2010 12:52 PM

[SOLVED] Change Background Color of Sidebar on Home Page
 
Hi there. I would like to change the left sidebar color on my homepage to white so I can add images there. The rest of the sidebars will contain text so the color background is fine. I searched the forums and found that the following code might work:

td#left.page-id-4 {
background-color: #ffffff !important;
}

I tried placing this in CSS Inserts, however the sidebar is still in color on the home page.

I am using ATA 3.5.3 and WP 3.0.1.

Thank you!

lmilesw Sep 10, 2010 12:56 PM

Try this
HTML Code:

.page-id-4 td#left {
background-color: #ffffff !important;
}

You may not need the !important

c12281 Sep 10, 2010 01:07 PM

Still blue. Here's the site if that helps http://ecsales.muzzmarketing.com/

Thanks!

lmilesw Sep 10, 2010 01:16 PM

Do you have a caching plugin?

c12281 Sep 10, 2010 01:17 PM

No. Do I need to get one?

lmilesw Sep 10, 2010 01:45 PM

No... I am just trying to figure out why your white background in the left sidebar doesn't show on the home page.

lmilesw Sep 10, 2010 01:50 PM

The other code worked for me but try this. Also make sure there isn't conflicting code further down in CSS inserts.
HTML Code:

body.page-id-4 td#left {
background-color: #ffffff !important;
}

OR
HTML Code:

body.home td#left {
background-color: #ffffff !important;
}


c12281 Sep 10, 2010 09:37 PM

Thanks, Larry. It works now. Silly mistake. I had a } before the start of the code. Once I removed the } it worked fine...


All times are GMT -6. The time now is 03:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.