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.
Options

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

  • Options
    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.

  • Options

    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.

  • Options

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

  • Options

    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.

  • Options
    hgtonighthgtonight ∞ · New MVP

    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.

  • Options
    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.

  • Options

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

  • Options
    hgtonighthgtonight ∞ · New 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.