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.
Alternating Category Colors?
I could swear I remember seeing a theme or add on that made this happen.
I've already got all the CSS done on the forum I'm designing, so is there a place I can just add some code that would allow this to happen? If so, can someone show me the code and where to implement it?
I would also like to set a background color for each comment, but when I do it creates a block around some of the text in the comment header. Is there a way to beat this?
Thanks
0
This discussion has been closed.
Comments
For now you will have to figure out the hex colour value of a 20% desaturated colour manually.
From the discussions page:
<li id="Discussion_5577" class="Discussion Read NoNewComments Category_13"> <li id="Discussion_6748" class="Discussion Unread NewComments Category_10 Alternate">
From the categories page:
<li id="Category_10" class="Category UnblockedCategory FirstCategory Category_10"> <li id="Category_7" class="Category UnblockedCategory Category_7 Alternate">
Seems we're missing "Read" and "Unread" on the categories - but you can certainly have the alternating colours already
Perhaps we could add the Read/Unread thing to the list of wishes for the next release of Vanilla?