Hi,
thanks for your question, and sorry for the trouble.
For this, you could look into using the TablePress Cell Highlighting Extension from https://tablepress.org/extensions/cell-highlighting/. For some examples, please see https://ww.wp.xz.cn/support/topic/tablepress-conditional-colours-in-cells/
This feature, with a better integration and user interface will soon also be part of the Premium versions that will be coming with TablePress 2.0 🙂 See https://tablepress.org/8-million-downloads-tablepress-2-0/ for a bit more information.
Regards,
Tobias
Thank you, Tobias 🙂 It works almost perfect. Almost… Because I would like to filter “PRE” word value only on cells. And this is the problem for me, because *PRE* is also appearing on the header table in other words, example (“preconfiguration”), and it is colorizing too in header. How to apply only for cells?
.tablepress .highlight-pre {
color: #45ad1d;
}
Hi,
is “Pre” the only thing in those cells? If so, you can set the
highlight_full_cell_match=true
parameter in the Shortcode.
Alternatively, restrict the coloring to table body cells, by using this CSS:
.tablepress tbody .highlight-pre {
color: #45ad1d;
}
Regards,
Tobias
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!