Hi,
thanks for your post, and sorry for the trouble.
For this, you can add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:
.tablepress-id-123 th,
.tablepress-id-123 td {
text-align: center;
}
where 123 is the table ID.
Regards,
Tobias
Hello
Thanks alot
I do it For every table ????
Hi,
for that use the general .tablepress CSS class instead of .tablepress-id-123, i.e. use
.tablepress th,
.tablepress td {
text-align: center;
}
Regards,
Tobias
Hi
Thanks alot
What is the id of all the tables?
Hi,
only the individual tables have an ID. That’s when you use .tablepress-id-123 where 123 is the ID.
If you want to do something for all tables at once, just use .tablepress in the CSS code.
Regards,
Tobias