Hi,
thanks for your post, and sorry for the trouble.
Please try this CSS code:
.tablepress-id-11 thead th,
.tablepress-id-11 tbody td {
border: 3px solid #000000;
}
Regards,
Tobias
Hello Tobias
Thank you very much for your help it works great.
On the other hand, why is the line at the top of my table not drawn?.
I would like to show it to you with a screenshot but I can’t add any more?
My table is not yet in public
For this table I use these css codes so that I can modify the width of each column, I would like to have if it is well done or if it requires a simpler code for the columns, which I do not know?
.tablepress-id-12 thead th,
.tablepress-id-12 tbody td {
border: 2px solid #000000;
}
.tablepress-id-12 .column-1 {
width: 130px;
height: auto;
}
.tablepress-id-12 .column-3 {
width: 40px;
height: auto;
}
.tablepress-id-12 .column-2 {
width: 60px;
height: auto;
}
.tablepress-id-12 .column-4 {
width: 20px;
height: auto;
}
.tablepress-id-12 .column-5 {
width: 90px;
height: auto;
}
.tablepress-id-12 .column-6 {
width: 50px;
height: auto;
}
.tablepress-id-12 .row-hover tr :hover td {
background-color: #ff0000;
}
Thank you in advance for your help and answers
Have a good day
Olivier
-
This reply was modified 7 years, 6 months ago by
olivier2.
Hi,
please try adding the !important flag:
border: 2px solid #000000 !important;
Regards,
Tobias
Hello Tobias
Thank you very much, it works and it’s much better
I still have a lot of work to do on it I plan to put it online in a few days
Thank you again for your help and quick answers
I wish you a very good day
Olivier
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!