Skip to:
Content
Pages
Categories
Search
Top
Bottom

Even/Odd color change for individual posts?


  • caming
    Participant

    @caming

    Just curious. Is this possible? I noticed it works for
    `#content table tbody tr.odd td {
    background-color:#ffffff;
    color: white !important;
    }

    #content table tbody tr.even td {
    color: white !important;
    background: #000000;
    }`
    But that’s only topic listing.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)

  • caming
    Participant

    @caming

    *bump.
    anyone on this?


    zilveer
    Participant

    @zilveer

    Try with this:
    `
    div#bbpres-forums li.bbp-body div.odd {
    background-color:#ffffff;
    color: white !important;
    }

    div#bbpres-forums li.bbp-body div.even {
    color: white !important;
    background: #000000;
    }
    `


    caming
    Participant

    @caming

    Meh, still no dice. :/


    zilveer
    Participant

    @zilveer

    @caming
    what is your website?


    caming
    Participant

    @caming


    caming
    Participant

    @caming

    Anyone else on this?

    I mean, am I trying to get this thing to do something it can’t or is not supposed to?


    Jared Atchison
    Moderator

    @jaredatch

    Dunno why that wouldn’t work.

    Threw this code in firebug and it works just fine.
    `table.forum-table tr.odd td {
    background:red;
    }`


    caming
    Participant

    @caming

    hi jared,

    Got it working via the following:
    `table#topic-post-list tr {
    background-color: #ffffff;
    }

    table#topic-post-list tr:nth-child(even) {
    background-color: #ededed;
    }`
    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.