Support » Fixing WordPress » Can't figure out table background CSS

  • Resolved outloudtalent

    (@outloudtalent)


    For some reason I can’t not figure out how to change my table background to ONE color. Every other line is alternated between black and white. A good example is at – http://www.outloudtalent.com/newsite/clients/

    Please help. I want them all to be the same color.

    Sorry about posting my entire CSS code but I can’t find the table section.

    [ 1,285 lines of code moderated, that’s just way too much. For that many lines of code please use pastebin.com instead. Or just post a link to your style sheet. ]

Viewing 3 replies - 1 through 3 (of 3 total)
  • datdesignguy

    (@datdesignguy)

    Your theme has the following css code:

    tbody tr:nth-child(even) td, tbody tr.even td {
    background: #E5ECF9;
    }

    Add (at the end of your css file, or if you’re using a child-theme, in your child’s css file:

    tbody tr:nth-child(even) td, tbody tr.even td {
    background: black;
    }

    Hope this helps

    -greg

    outloudtalent

    (@outloudtalent)

    Perfection! It worked. Thanks so much!!!

    datdesignguy

    (@datdesignguy)

    Most welcome 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can't figure out table background CSS’ is closed to new replies.