Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Vanilla 2.2.1 is now available.
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.

Change "Question" & "Answered" background colors

This discussion is related to the Q&A addon.
edited September 2011 in Vanilla 2.0 Help
How would I style the backgrounds of the Question and Answered info buttons on the discussions page? I'm using a dark theme and would like to achieve some contrast for UI purposes.

Can't seem to find any CSS references in the plugin directory.

My URL: gmauthority.com/forum/
Tagged:

Best Answer

  • hungle88hungle88 New
    Answer ✓
    This is my style for the QnA plug-in.

    .Tag {
    background: #0065C3;
    border-radius: 2px;
    color: white;
    font-weight: bold;
    padding: 1px 4px;
    }

    .Tag.QnA-Tag-Question {
    background: #E12E2D;
    border-radius: 2px;
    color: #FFFFFF;
    font-weight: bold;
    padding: 2px 4px;
    }

    .Tag.QnA-Tag-Accepted {
    background: #55BE26;
    border-radius: 2px;
    color: #FFFFFF;
    font-weight: bold;
    padding: 2px 4px;
    }
    Jadeway

Answers

Sign In or Register to comment.