[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 |
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;{ HTML Code:
#categoryposts-4 {background: #99FFCC;} |
thanks very much. it's ok
i start Wp and sometimes I'm like a chicken in front of a knife !!! |
All times are GMT -6. The time now is 12:43 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.