• Resolved capvet

    (@capvet)


    I’m working with tables (for actual tabular data!) and the theme I picked was formatting the header row differently. I’ve overcome that mostly by overriding the CSS used in the “Additional CSS” section.

    But I’m going to have a lot of data, so I wanted to color alternate rows, for easier tracking. This revealed that the code I’m using considers the header row, a special thing, and therefor colors it the same as the row under it. Meaning that while every other row is colored, the top two are the same.

    tr:nth-child(even) {
    background-color: #EEEEEE;
    }

    So I’m curious if there’s a way to tell the tables to just not use header rows at all? Can I just make everything a td instead of a th somehow?

    • This topic was modified 5 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not a Developing with WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Can I disable table headers?’ is closed to new replies.