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

    (@tobiasbg)

    Hi,

    thanks for your question. This is possible with some CSS code. Please try adding

    .tablepress tbody td {
      background-color: #ff0000;
    }

    to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress.
    This will change the background color of all tables.
    For more examples, please see the plugin FAQ page at http://tablepress.org/faq/

    Regards,
    Tobias

    Thread Starter ARToinet

    (@artoinet)

    I have added the code, but unfortunately it did not work. The background is still light.

    Regards,
    ARToinet

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    can you then please post the link to the page with your table? I will gladly take a look then. Most probably, we’ll just need some more specific code.

    Thanks,
    Tobias

    Thread Starter ARToinet

    (@artoinet)

    Hi Tobias,

    Many thanks for your quick reply!

    This is the link to the page: http://www.artoinet.com/test-page/

    Hope you can help 🙂

    Kind regards,
    ARToinet

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for the link.
    You’ll just have to uncheck the “Alternating row colors” checkbox on the table’s “Edit” screen, and the color change will work as expected.
    Then just change the color value to what you want.

    Regards,
    Tobias

    Thread Starter ARToinet

    (@artoinet)

    WOW, thanks, that was easy!

    Now I have two more questions:

    1. Can I change the header row to the same color as the background of the table? It’s still a light color.

    2. Is there a way to change the hover color, when the cursor hovers over a row?

    Thanks!
    ARToinet

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yes, this is both possible. Please take a look at the FAQ page at http://tablepress.org/faq/ where you will find exactly these questions answered.

    Regards,
    Tobias

    Thread Starter ARToinet

    (@artoinet)

    Hi,

    Brilliant! Thanks, Tobias!

    Regards,
    ARToinet

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    sure, no problem, you are very welcome!

    Best wishes,
    Tobias

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

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

The topic ‘Dark background on tables’ is closed to new replies.