Hi,
thanks for your question, and sorry for the trouble.
You should not actually need an “Extra CSS class” here, so please remove that. Instead, just add this “Custom CSS” (with the table ID adjusted properly):
.tablepress-id-123 .row-2 .column-1,
.tablepress-id-123 .row-3 .column-1,
.tablepress-id-123 .row-4 .column-1,
.tablepress-id-123 .row-5 .column-1,
.tablepress-id-123 .row-7 .column-1,
.tablepress-id-123 .row-8 .column-1,
.tablepress-id-123 .row-9 .column-1,
.tablepress-id-123 .row-10 .column-1,
.tablepress-id-123 .row-11 .column-1 {
background-color: #5AE503;
}
Regards,
Tobias
Hi Tobias,
I’m trying to insert in the custom CSS different types codes to change the colors of the table
for example :
.tablepress thead th,
.tablepress tfoot th {
background-color: #683B10;
}
just to change the background… as indicated in the FAQ
but it doesn’t work…
maybe it’s a problem of the theme I’m using… or with an other plugin
site : http://perpetuumobile.fr
Thanks in advance for your help
Daniel (from France)
Hi,
thanks for your post, and sorry for the trouble.
The code that you posted will only change the background color of a header row, but your table is not using a header row. You will therefore want to try this: http://tablepress.org/faq/change-background-color-of-a-row/
Regards,
Tobias
Thanks for your quick answer…
but it doesn’t work,
before I contact you, I tried different codes from the FAQ … without success
Regards
Daniel
Hi Tobias,
thanks a lot for your help
It works…
Best regards
Daniel
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!