It is tricky – I know that the table is being flipped and that the first column is actually the th, however when I increase the size of the columns with the data to 56px, then the th increase to 72px, even though I specifically set it to a height. Originally, it was 40px, but when I increased the columns to that, it became 56px – see the problem? I’m setting it manually using the cusotm css. Maybe I’m doing something wrong there?? does it have something to do with the .sorting class? Here’s what I have:
@media (max-width: 900px) {
.tablepress-id-5 {
clear: both;
}
.tablepress-id-5 thead th,
.tablepress-id-5 tbody td {
height: 40px;
line-height: normal;
}/*not doing anything for the layout
.tablepress-id-5 .column-1,
.tablepress-id-5 .column-2,
.tablepress-id-5 .column-3,
.tablepress-id-5 .column-4,
.tablepress-id-5 .column-5,
.tablepress-id-5 .column-6,
.tablepress-id-5 .column-7,
.tablepress-id-5 .column-8,
.tablepress-id-5 .column-9,
.tablepress-id-5 .column-10,
.tablepress-id-5 .column-11,
.tablepress-id-5 .column-12 {
height: 56px;
text-align: center;
}
*/
}
.tablepress-id-5 .img_scale {
max-width: 18px;
height: 18px;
display: block;
margin: 0 auto;
}
.tablepress-id-5 .column-1 {
font-weight: bolder;
text-align: center;
}
/*.tablepress-id-5 .column-2 {
height: 40px;
}
*/
.tablepress-id-5 .column-1,
.tablepress-id-5 .column-2,
.tablepress-id-5 .column-3,
.tablepress-id-5 .column-4,
.tablepress-id-5 .column-5,
.tablepress-id-5 .column-6,
.tablepress-id-5 .column-7,
.tablepress-id-5 .column-8,
.tablepress-id-5 .column-9,
.tablepress-id-5 .column-10,
.tablepress-id-5 .column-11,
.tablepress-id-5 .column-12 {
height: 56px;
text-align: center;
}