Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] Change background color of individual widgets

Old Nov 14, 2011, 07:42 AM
12 posts · Nov 2011
I want to change the background color of each individual widget
I use to do this in "insert CSS":

#categoryposts-4 {
background: #99FFCC;
#text-6 {
#categoryposts-5 {

But only the first of the list has a background that changes color.
If I put text-6 (or categoryposts-5 and so on ..) at the top of the list, it changes color but not for others.
What grammatical error css did I?


Ata 3.7.1
WP 3.2.1
Old Nov 14, 2011, 07:52 AM
lmilesw's Avatar
10,176 posts · Jul 2009
Central New York State USA
The closing curly brace should be } not {
One way to remember this is to think of the CSS on one line. Here is what your code would look like on a single line (which also works BTW). The curly braces should be like parentheses with an opening an closing brace.
HTML Code:
#categoryposts-4  {background: #99FFCC;{
Here is the correct code on one line.
HTML Code:
#categoryposts-4  {background: #99FFCC;}
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
Old Nov 14, 2011, 08:23 AM
12 posts · Nov 2011
thanks very much. it's ok
i start Wp and sometimes I'm like a chicken in front of a knife !!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to change individual page background w/ body.page-id- tikijj Center area post/pages 4 Sep 25, 2011 04:23 PM
change widgets background color problems eahing Sidebars & Widgets 2 May 9, 2011 08:16 AM
[SOLVED] how to change the entire background color, not the body color? crobertl Forum How-To 24 Sep 12, 2010 10:00 AM
Change background colors for each individual page wing23 Atahualpa 3 Wordpress theme 7 Aug 15, 2009 04:08 PM
Change background color of individual widgets Photokitchen Sidebars & Widgets 4 May 9, 2009 05:55 AM

All times are GMT -6. The time now is 06:35 PM.

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