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.

Was class="Alternate" removed from comments?

I wanted to alternate the bgcolor of comments in a discussion, and searching here I saw a few times people suggested using the "Alternate" class in the default css, but I think that was for Vanilla 1?

Looking at my default 2.0.18.4 css I don't see the "Alternate" class...nor do I see it added to the webpage's source code when I view page source.

Is there new/better/different way to alternate the bgcolor between comments in a discussion? Thanks.

Comments

  • x00x00 MVP
    edited March 2013

    learn to use firebug or similar solve all these sort of issues you won't need to ask these type of questions again.

    .Discussion .DataList .Item{
    
    }
    
    .Discussion .DataList .Alt{
    
    }
    
    .Discussion .DataList .Mine{
    
    }
    

    grep is your friend.

  • You need to soak up how to modify a theme. read 422's documentation and go through whu606' sample plugin

    add this to your custom.css and then see if it changes colors. Then click awesome or insightful once in a while, if you get any help.

    div#Content .Alt {
    background-color: green;
    }

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Thanks for both the quick answer and the good advice. Looking into Firebug now.

  • cool.

    next thing to learn is

    How to click awesome or insightful once in a while, if you get any help.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Side question, where can I find 422's documentation?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • peregrineperegrine MVP
    edited March 2013

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • hgtonighthgtonight MVP
    edited March 2013

    @peregrine XD

    I thought it was a different site or something. Thanks for the links :)

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.