• Resolved mike55

    (@mike55)


    Hello,

    with this css I can change the BG-Color of ALL Headrows to the same color:
    .tablepress thead th, .tablepress tfoot th { background-color: #ff0000; }

    How can I put different BG-Colors to different table head rows?

    thanks mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For that, you would use the table-ID-based selectors, like

    .tablepress-id-123 thead th,
    .tablepress-id-123 tfoot th {
      background-color: #ff0000;
    }
    
    .tablepress-id-456 thead th,
    .tablepress-id-456 tfoot th {
      background-color: #0000ff;
    }

    Regards,
    Tobias

    Thread Starter mike55

    (@mike55)

    ah. perfect. thank you.

    I just max rated your plugin and fast support. 🙂

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!
    And thanks for the review, I really appreciate it!

    Best wishes,
    Tobias

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

The topic ‘Different background-color for head rows’ is closed to new replies.