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.

Update for critical security issue in PHPMailer included in release Vanilla 2.3.1
Please upgrade to 2.3 here. The 2.2 and earlier branches are 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 - 2.2
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/

Best Answer

  • hungle88hungle88 New
    Accepted 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.