Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[Help] Alternating Row Color in Custom Theme
This discussion has been closed.
Comments
#Comments li { background-color:red; } #Comments li.Alternate { background-color:blue; }
#Comments li, #Comments li * { background-color:red; } #Comments li.Alternate, #Comments li.Alternate * { background-color:blue; }
I think IE understands *, but I'm not sure. If that still doesn't work, perhaps you need to add !important like so:background-color:blue !important;
The php looks like:
$quotedisplay .= '<p id="quote" class="fade-0066FF">' .$quote .'</p>';
And the css looks like:
#Panel p.quote span { font-color: #000000; width:180px; }
What this does is to fade from blue to nothing.
Edit --- I just realized that I made myself a fade-anything extension and the code above is part of it. It uses js by Adam Michela he calls fade-anything-technique. I can upload it if anyone thinks it would be useful.