WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't figure out table background CSS (4 posts)

  1. outloudtalent
    Member
    Posted 2 years ago #

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

  2. datdesignguy
    Member
    Posted 2 years ago #

    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

  3. outloudtalent
    Member
    Posted 2 years ago #

    Perfection! It worked. Thanks so much!!!

  4. datdesignguy
    Member
    Posted 2 years ago #

    Most welcome :)

Topic Closed

This topic has been closed to new replies.

About this Topic