Hi,
thanks for your post, and sorry for the trouble.
From what I can see, you are “only” reducing the padding in that “Custom CSS”, but you are not setting any column widths. Due to that, the browser will just calculate them depending on the text in the tables.
Can you maybe try to set the width of the first column of these two tables with the CSS approach from http://tablepress.org/faq/column-widths/ ?
Regards,
Tobias
Thanks Tobias, I’m just wondering though why we would have to do this with this table when the above table has pretty much the same kind of content in it and I’ve had not to set column widths for that one?
Hi,
the reason for this is that the browser will calculate column widths automatically, when none is set manually. For that, it takes into account the length of the text in the table cells, and it then tries to calculate the widths so that the table is “visually appealing”.
And while the type of content in your tables might be the same, the length of the text is not. (For example, the top table has a comparably long text in the fourth row, while the bottom table does not have such a long text.)
Does this make sense?
Setting the widths manually is very easy. This “Custom CSS” should be sufficient here:
.tablepress-id-9 .column-1,
.tablepress-id-13 .column-1 {
width: 75px;
}
Regards,
Tobias
Thanks Tobias, that worked perfectly!
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!