Hi,
thanks for your question.
My suggestion for this is to use the TablePress Extension from http://tablepress.org/extensions/input-field-size/
By editing the CSS in that file, you can modify the size of the textareas.
Is that what you mean?
Regards,
Tobias
Thank you!
Three or my columns have minimal content, should be minimum 60px and 150px, the next two should be 200 and 400px. I tried the code below but it didn’t work. How can I pick out an edit column for a style?
#edit-form-head th.head:first-child {
min-width: 60px;
}
#edit-form-head th.head:nth-child(-n+5) {
min-width: 150px;
}
#edit-form-head th.head:last-child {
min-width: 30px;
}
Also, how would I customize the extension to different table ids?
Hi,
I think that you should apply the width change to the textarea, and not the head cell. Additionally, you will need an offset of two, as the first two columns are not table cells, but the row number and the checkbox. Please try again with this (for the first column):
#edit-form-body td:nth-child(3) textarea {
min-width: 60px !important;
}
And, unfortunately, having this apply to certain table IDs only is not possible at the moment, because there’s no CSS class on the page for this. I will however add one in the next release, to make this possible!
Regards,
Tobias
That works brilliantly thank you!
Looking forward to a version that will allow targeting by ID.
Best,
Kathy
Hi,
great! Nice to hear that this helped! 🙂
Yes, adding a CSS selector with the table ID should not be hard for me, so that will make it into the next release.
Best wishes,
Tobias