i dont know if this is affecting anything but i do have some custom CSS for all tables
.tablepress thead th,
.tablepress tfoot th {
background-color: #004e39;
color: #ffffff;
}
.tablepress tbody td {
font-size: 16px;
color: #505050;
}
.tablepress .column-1 {
text-align: left;
}
.tablepress .column-2 {
text-align: center;
}
.tablepress .column-3 {
text-align: center;
}
.tablepress .column-4 {
text-align: center;
}
.tablepress .column-5 {
text-align: center;
}
.tablepress .column-6 {
text-align: center;
}
.tablepress .column-7 {
text-align: center;
}
.tablepress .column-8 {
text-align: center;
}
it seems to be on FireFox and Chrome
im on a Mac (10.15.7)
this is the shortcode im using: [table id=3 responsive=”mode” /]
i tried updating various plugins and it seems to be working now.
Hi,
thanks for your post, and sorry for the trouble.
Good to hear that the spacing is working now! One other thing that I noticed (on some tables only) though:
It seems like, due to copy/paste, some extra HTML code was added around the Shortcodes, which interferes. To fix that, please switch from the “Visual” to the “Text” editor when editing these pages, and check if there is HTML code like <pre> and </pre> around the table Shortcode. If so, please remove all of that so that the table Shortcode stands on its own line, by itself.
Regards,
Tobias
this is what the text looks like:
[table id=18 responsive="mode" /]
is that ok or no?
Hi,
the Shortcode is almost correct – except that you should change word mode to one of the four possible values, see https://tablepress.org/extensions/responsive-tables/
However, there are still HTML <pre> tags around the Shortcode, for example on the page https://ohfab.com/p7-series-nylon-hex-cap-suction-strainers-male/
If you use the standard WordPress editor interface, please check that in the “Text” editor. If you use some sort of page builder or block editor interface, please make sure to use a plain text block and not a “code” block or similar.
Regards,
Tobias
Hi,
great! Thanks for the confirmation!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!