Table Width
-
Hi Tobias,
I searched the forums quite a while before asking this question. And thanks so much for the great product and outstanding support! I’ve tried several things to reduce the width of my table but nothing seems to work. The table is at https://tennyhill.com/2016/09/29/testing-tablepress-calling-out-specific-table-with-shortcode/ and I have the following Custom CSS:
.tablepress thead th,
.tablepress tfoot th {
background-color: #000000;
font-family: Arial;
text-align: center;
font-size: 11px;
color: #FFFFFF;
}.tablepress .odd td {
background-color: #FFFFFF;
}.tablepress .even td {
background-color: #FFDA8C;
}.tablepress tbody td {
font-family: Arial;
font-size: 11px;
color: #000000;
}.tablepress border tr,
tbody td,
thead th,
tfoot th {
border-collapse: collapse !important;
border-top: 1px solid #000000 !important;
border-bottom: 1px solid #000000 !important;
border-right: 1px solid #000000 !important;
border-left: 1px solid #000000 !important;
padding: 1px !important;
border-color: #000000 !important;
}.tablepress {
padding: 1px;
}.tablepress .column-2 {
text-align: center;
}.tablepress-id-5 .column-1 {
width: 50px !important;
}.tablepress-id-5 .column-2 {
width: 50px !important;
}I am trying to get the columns to have the width of the widest text entry and then those two columns will determine the overall table width. Right now it’s about 3 or 4 times the width it should be.
Thanks so much in advance!
Cindy
- The topic ‘Table Width’ is closed to new replies.