Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Change Label colours?

tropnevadtropnevad New
edited April 2012 in Vanilla 2.0 - 2.8

Where can I go to change the label colours, I looked in the theme CSS but was not sure where to look.

I would like to know where I can go to change the label colours of things like Announcement, Closed, Question, Answered etc...

Any help will be appreciated.




  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP
    edited April 2012


    You can use Firebug in Firefox, or a similar tool, to find out what css rule governs the elements you want to change.

    If you are going to make changes to the css you should do it in a customised theme.

  • Options

    firefox or chrome tool is the thing you must have

  • Options
    UnderDogUnderDog MVP
    edited April 2012

    So you right clicked on 'announcement' and this is what you found?

    < span class="Tag Tag-Announcement" >Announcement< /span >

    which results in


    The class is .Tag and that's what you need to change, but you better ask a CSS expert to make sure.

    There was an error rendering this rich post.

  • Options

    if you are using a custom theme-in your custom css file , you can add these ( or find ,if you have downloaded a might be in the custom css already) :
    ul.DataList div.Meta span.Announcement {
    ul.DataList div.Meta span.Closed {

    i use these to style the background color etc..of labels.

Sign In or Register to comment.