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
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Nov 14, 2011, 07:42 AM
bdups
 
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 {
background:#CCFFCC;
{
#categoryposts-5 {
background:#FFFFCC;
{


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?

Thanks


Ata 3.7.1
WP 3.2.1
  #2  
Old Nov 14, 2011, 07:52 AM
lmilesw's Avatar
lmilesw
 
9,954 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.
  #3  
Old Nov 14, 2011, 08:23 AM
bdups
 
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 !!!

Bookmarks

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 12:58 PM.


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