Skip to:
Content
Pages
Categories
Search
Top
Bottom

Even/Odd color change for individual posts?

  • @caming

    Participant

    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

    *bump.
    anyone on this?

    @zilveer

    Participant

    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

    Meh, still no dice. :/

    @zilveer

    Participant

    @caming
    what is your website?

    @caming

    Participant

    @caming

    Participant

    Anyone else on this?

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

    @jaredatch

    Member

    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

    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.
Skip to toolbar