Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

[SOLVED] Change background color of individual widgets

Build custom WP THEMES, without
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
Old Nov 14, 2011, 08:42 AM
12 posts · Nov 2011
[SOLVED] Change background color of individual widgets

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, 08:52 AM
lmilesw's Avatar
10,169 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, 09: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 05:23 PM
change widgets background color problems eahing Sidebars & Widgets 2 May 9, 2011 09:16 AM
[SOLVED] how to change the entire background color, not the body color? crobertl Forum How-To 24 Sep 12, 2010 11:00 AM
Change background colors for each individual page wing23 Atahualpa 3 Wordpress theme 7 Aug 15, 2009 05:08 PM
Change background color of individual widgets Photokitchen Sidebars & Widgets 4 May 9, 2009 06:55 AM

All times are GMT -6. The time now is 11:52 PM.

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