Ok found it in the inspector but can’t find where to edit it:
.tablepress > * + tbody > * > *, .tablepress > tbody >
border-top: 1px solid var(–border-color);
-
This reply was modified 1 year ago by
jezkerw.
Ok, it was in the default.css in the plugin. Do you know why this is happening?
Hi!
Thanks for your post and sorry for the trouble!
Indeed, this is likely coming from the default horizontal border that TablePress adds.
However, to remove that, please do not edit the TablePress CSS files! You would otherwise have to repeat this after every TablePress plugin update! Instead, please try this approach: https://tablepress.org/faq/remove-borders-from-a-table/
Regards,
Tobias
Hi Tobias,
No trouble at all. Love your plugin 🙂
So all I have to do is to add that code with the table ID in the options filed? 🙂
Or I could add it in the child theme too? I added this to child theme and it seemed to work:
.tablepress>+tbody>>,.tablepress>tbody>~>,.tablepress>tfoot>>{border-top:0px solid var(–border-color) !important}
-
This reply was modified 1 year ago by
jezkerw.
-
This reply was modified 1 year ago by
jezkerw.
Hi,
yes, adding the CSS code to the “Plugin Options” screen or a child theme will normally work.
But your code also works totally fine, so just keep that 🙂
I just wanted to warn you to not directly edit the plugin’s CSS files, as that will lead to problems and extra work in the future.
Best wishes,
Tobias
Appreciate your kind help Tobias 🙂
-
This reply was modified 1 year ago by
jezkerw.
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 in the plugin directory. Thanks!