Hi,
thanks for the explanation! I think I can explain what’s going on here.
So, TablePress does in no way interact or influence the normal WordPress table block. However, it offers a “Custom CSS” field on its “Plugin Options” screen, which can hold CSS code for styling.
In this “Custom CSS” field, you have this code (among other code):
.table th,
td {
text-align: center !important;
}
This will center-align ALL table body cells of ALL tables on the website (not just those of TablePress, but also those of the WordPress Table block). The relevant part is the td
here. The part with the .table
is actually not used (because that’s not a CSS class that TablePress uses).
In TablePress 2.4.4, this “Custom CSS” is loaded on all pages of the site, so that it will affect all tables. In TablePress 3.0 and 3.0.1 (after fixing a bug in 3.0), this CSS file will only be loaded on pages where there is a TablePress table. So, on the page from your link, which does not have a TablePress table, this “Custom CSS” file will NOT be loaded, meaning that the table from the WordPress Table block will get its default styling.
In short: To fix this problem, you should adjust your “Custom CSS” on the “Plugin Options” screen of TablePress. It should only contain CSS code for TablePress tables, which means that all CSS selectors should start with .tablepress
(and not just .table
and not without a CSS class, like the td
). So, I recommend either removing the code from above, or replacing it with
.tablepress th,
.tablepress td {
text-align: center !important;
}
(There is also another piece of code in there that uses just .table
so that should be adjusted or commented out as well.)
After this, your WordPress Table block tables will be completely independent from TablePress.
Best wishes,
Tobias