Hi,
thanks for your post, and sorry for the trouble.
The reason for this your theme, which adds some margins by CSS to the table head cells.
To change this, please try this “Custom CSS”:
.tablepress-id-1 thead th,
.tablepress-id-1 tfoot th {
background-color: #C0C0C0;
text-align: center;
line-height: normal;
padding: 8px;
}
.tablepress thead th div {
margin: 0 !important;
}
.tablepress-id-1 {
width: auto;
margin: 0 auto 1em;
}
instead of what you have now.
Regards,
Tobias
Thread Starter
Jure_S
(@jure_s)
Great thank you!
Another question, I wonder why at the top of the table appears light gray edge?
I assume that the this is theme fault too?
thank you very much
Hi,
yes, that’s also coming from the theme and you can remove it with this “Custom CSS”:
.tablepress thead th {
border: none;
}
Regards,
Tobias
Thread Starter
Jure_S
(@jure_s)
Hi,
I have bigger problem with TablePress plugin and my theme.
If I have plugin enabled my dropdown menu is not working correctly.
And another problem is on pages that include tabs. If there is a table inside a tab I need to click on first tab to get content. If there is no table, tab gets open by it self.
LINK
BR Jure
Hi,
this might be related to the use of colspan in the tables, while the DataTables library is also enabled. That’s unfortunately not compatible.
So, please simply uncheck the “Use DataTables” checkbox on the “Edit” screens of the three tables on that page.
Regards,
Tobias
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!