I fixed it myself with this custom css
.tablepress-id-11 {
table-layout: fixed;
}
.tablepress-id-11 th {
white-space: nowrap;
}
.tablepress-id-11 .column-1,
.tablepress-id-11 .column-2,
.tablepress-id-11 .column-3,
.tablepress-id-11 .column-4,
.tablepress-id-11 .column-5,
.tablepress-id-11 .column-6,
.tablepress-id-11 .column-7,
.tablepress-id-11 .column-8,
.tablepress-id-11 .column-9,
.tablepress-id-11 .column-10,
.tablepress-id-11 .column-11,
.tablepress-id-11 .column-12,
.tablepress-id-11 .column-13,
.tablepress-id-11 .column-14,
.tablepress-id-11 .column-15,
.tablepress-id-11 .column-16,
.tablepress-id-11 .column-17,
.tablepress-id-11 .column-18,
{
width: 300px !important;
}
Hi,
nice find! Yes, this should work fine.
Regards,
Tobias
I tried the above but it does not seem to be changing my column widths. my website http://theperfectcut2.net/services/salon_services/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I tried also the below and it did not change anything. I need to have column 2 closer to column 1 so you can see the prices for each service better.
.tablepress-id-1 .column-1 {
width: 50px; !important;
}
.tablepress-id-1 .column-2 {
width: 100px; !important;
}
Any thoughts??
Thank you Lisa
Hi Lisa,
please try adding it like this:
.tablepress-id-1 {
width: auto;
}
.tablepress-id-1 .column-1 {
width: 50px !important;
}
.tablepress-id-1 .column-2 {
width: 100px !important;
}
(Note that you had extra semicolons ; in your code, which I removed.)
Regards,
Tobias
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!
Hi!
I’ve got a table with 7 columns. Each row in the last column has a button that redirects to another page.
The first column is taking up most of the space on the page while the rest of the coulmns are stuffed towards the end.
I have used no extra CSS or HTML within the table cells or in the “Plugin Options”
Any help in the right direction would be great!
Hi narendralath,
Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!
Regards,
Tobias