Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Ken,

    thanks for your post, and sorry for the trouble.

    For that table, you’ll probably just want to add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-1 {
      width: auto;
    }

    Regards,
    Tobias

    Thread Starter caminoviejo

    (@caminoviejo)

    Thanks Tobias. I have tried that but the table shrinks too much I want to be able to change the size manually. If I put the latter code in place and then also try to change manually. The manual changes are not implemented.With thanks,Ken

    Thread Starter caminoviejo

    (@caminoviejo)

    I think now that it is the colspan that I am using on the even number columns that is causing the discrepancy.thanks, Ken.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no, with that, you’ll be able to set the individual column widths. Just set them for each column.
    Also, there’s no need at all to use the “colspan” in your table, so I suggest to simply remove that.

    And for table 2: Instead of turning off each of the JavaScript features individually, you should simply uncheck the “Use DataTables” checkbox. With that, the JS code won’t even be loaded.

    Regards,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Setting column width’ is closed to new replies.