Changing multiple "rows" from to
-
Hello Tobias.
Is there a way to change multiple rows from “td” to “th” as it originally imported from HTML file?
instead of having all this code (for just 13 rows on this example (12 + thead). I need 29 for this specific table):
*********************************************************************
.tablepress-id-nys thead th,
.tablepress-id-nys tfoot th,
.tablepress-id-nys a,
.tablepress-id-nys .row-13 td,
.tablepress-id-nys .row-38 td,
.tablepress-id-nys .row-58 td,
.tablepress-id-nys .row-80 td,
.tablepress-id-nys .row-93 td,
.tablepress-id-nys .row-109 td,
.tablepress-id-nys .row-130 td,
.tablepress-id-nys .row-155 td,
.tablepress-id-nys .row-174 td,
.tablepress-id-nys .row-196 td,
.tablepress-id-nys .row-198 td,
.tablepress-id-nys .row-204 td {
background-color: #333;
color: #FFFFFF;
}.tablepress-id-nys .row-hover tr:hover td {
background-color: #333;
color: #FFFFFF;
}
******************************************************************
to something more efficient like:
.tablepress-id-nys th,
.tablepress-id-nys a,
.tablepress-id-nys .row-hover tr:hover th {
background-color: #333;
color: #FFFFFF;}
(don’t want the “hover” color the same as “th”)
See page at:
Note: Please see bottom of page for a duplicate “responsive table”. The layout doesn’t serve my purposes. Is there any fix for this?
Thanks in advance,
Joseph.
- The topic ‘Changing multiple "rows" from to’ is closed to new replies.