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.

How to replace discussion label by icon?

edited November 2006 in Vanilla 1.0 Help
I searched a lot and read a lot. But I could not find a solution. Is there one?


  • There are so many discussions about this but for some reason i cant lay my fingers on one either. First question though: how confident are you with css?
  • @ Minisweeper: Well, I searched all strings I could imagine, but found no sufficient answer. I would say I am quite confident in CSS.
  • Well from memory, there are 3 options.
    1) Replace the opening discussion label tag (an application setting) with image then use an image filename as the label. This works fine except when you apply more than 1 label to a discussion (unless you edit the source code a bit)
    2) Remove the opening and closing label tags altogether and use a full image - works slightly better with 2 labels but not great.
    3) Use css to set an image background for each discussion label element (or whatever you call it) and remove the tag altogether - this is the best choice i think, assuming you are comfortable doing so. As i say there are definitely threads on here which talk you through it but theyre not presenting themselves.
  • TexTex
    edited November 2006
    Just altering the vanilla.css does not help, right? I mean adding sth. like .Sticky { }
  • edited November 2006
    Thats exactly what i mean. Try this discussion for a bit more info:
  • TexTex
    edited November 2006
    Found it: .Sticky .DiscussionType { } Thanks.
This discussion has been closed.