• Resolved weyck

    (@weyck)


    I like the CSS Style for tables in the theme HUEMAN and want to use it for most of my tables.

    But how to create one aditional CSS Style for one special table, like textalign -> left and “.alt” with no different background color?

    Thanks for any help. And yes, I use a already a child theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi weyck. You could give your special table a class like this:

    <table class="special-tbl">

    Then target the alternating row color using the table class:

    .entry .special-tbl tr.alt {
        background: none;
    }

    And the text alignment:

    .entry .special-tbl td {
        text-align: left;
    }
    Thread Starter weyck

    (@weyck)

    Thanks bdbrown!

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

The topic ‘How to create a "table_special" CSS Style’ is closed to new replies.