Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] Change background color of individual widgets


  #1  
Old Nov 14, 2011, 07:42 AM
bdups
 
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 {
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
 
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.
  #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 02:53 PM.


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