Frequently Asked Questions (FAQ)
How can I change the colors of a single row?

Changing the text and the background color of a single row, e.g. to highlight it, can be done with some CSS like this:

.tablepress-id-N .row-X td {
  background-color: #ff0000;
  color: #00ff00;
}

where N (the table’s ID), and X (the number of the row) need to be adjusted to your table! #ff0000 is the HEX color code of the desired color, in this case red. You can change both the text color (via the color property) and the background color (via the background-color property).

This CSS code needs to be entered into the “Custom CSS” text field on the “Plugin Options” page of TablePress.

Top