Change table width
-
I used this code to change the column width’s,
.tablepress-id-2 .column-1 { width: 120px; } .tablepress-id-2 .column-2 { width: 100px; } .tablepress-id-2 .column-3 { width: 100px; }
which worked when I did it for the first two columns, but once I added the third, it just all stretched out again. I don’t want the table to stretch across the whole page like it is now, I’d rather have the columns no longer than they have to be to fit the text in ??
Also, used this code to change the colors of the rows:
.tablepress .odd td { background-color: #eeeeee; } .tablepress .even td { background-color: #ffffff; }
but the odd rows still stay the same color as they were before (#f2f7fc)
??
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Change table width’ is closed to new replies.