CSS not having any effect on column width
-
Hey Tobias,
First of all, thanks for this wonderful plug-in!
I’m having trouble with a table where the CSS I’m adding isn’t having any effect on my table.
I want the first column to be 300px wide, and every other column 50px wide. This is the CSS I’m using:
.tablepress-id-12 .column-1 { width: 300px; padding: 0; } .tablepress-id-12 .column-2, .tablepress-id-12 .column-3, .tablepress-id-12 .column-4, .tablepress-id-12 .column-5, .tablepress-id-12 .column-6, .tablepress-id-12 .column-7, .tablepress-id-12 .column-8, .tablepress-id-12 .column-9, .tablepress-id-12 .column-10, .tablepress-id-12 .column-11, .tablepress-id-12 .column-12, .tablepress-id-12 .column-13, .tablepress-id-12 .column-14, .tablepress-id-12 .column-15, .tablepress-id-12 .column-16, .tablepress-id-12 .column-17, .tablepress-id-12 .column-18, .tablepress-id-12 .column-19, .tablepress-id-12 .column-20, .tablepress-id-12 .column-21, .tablepress-id-12 .column-22, .tablepress-id-12 .column-23, .tablepress-id-12 .column-24 { padding: 0; width: 50px; }If you could please tell me what’s wrong that’d be great.
Cheers!
PS Just sent you some money for a couple of cups of coffee!
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘CSS not having any effect on column width’ is closed to new replies.