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

    (@tobiasbg)

    Hi,

    thanks for your question!

    Yes, that’s possible, and your CSS selector was almost right. Here’s an example:

    .tablepress .row-hover .odd:hover td {
    	background-color: #ff0000;
    }
    .tablepress .row-hover .even:hover td {
    	background-color: #00ff00;
    }

    Regards,
    Tobias

    Thread Starter larry109uk

    (@larry109uk)

    Thank you Tobias,

    Last question. How can I put a 10px space between each column? I’ve been trying to add it like this:

    .tablepress-id-1 .column-1 {
    text-align:left;
    padding-left:5px;
    }

    And just can’t quite work out where to put it.

    Thanks

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    that’s actually tricky. You might want to try something like this:

    .tablepress-id-1 {
      border-spacing: 10px 0;
      border-collapse: separate;
    }

    If that’s not what you wanted, please post the link to the page with the table in question.

    Regards,
    Tobias

    Thread Starter larry109uk

    (@larry109uk)

    That was perfect. Thanks a lot for all your help.

    Larry

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Larry,

    awesome! 🙂 Great to hear that!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

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

The topic ‘Odd and Even Highlight?’ is closed to new replies.