• Resolved mikejpryor

    (@mikejpryor)


    Hi Ian, I have a three column table (Text 5, Text 30, Text 90) and I want to reduce the size of the first two columns. I can reduce the second one, but not the first one – no matter what I set it to (e.g. 1) the rendering on the web page always comes out the same. It’s a bit weird – does this happen to you ? Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ian Sadovy

    (@iansadovy)

    Looks like an issue, need some time to check this.
    I will update you with my findings.

    Thread Starter mikejpryor

    (@mikejpryor)

    OK, but it’s not causing me any big problems so no rush at all. Thanks for being so responsive

    Plugin Author Ian Sadovy

    (@iansadovy)

    Hello Mike,

    I have looked into the problem and it seems that there is no issue.
    You can set the width of the first column, but there is one exception:
    – when you set the width explicitly to EVERY column and the table has 100% width (which is by default) – sizes are not applied.
    In this case, you can leave at least one column without the width to fill the remaining space OR set table width in pixels as following: [wp_table id="{id}" width="300px"].

    Please let me know if it helps.

    Regards,
    Ian

    Thread Starter mikejpryor

    (@mikejpryor)

    Hi Ian, yes that has helped, thank you

    Plugin Author Ian Sadovy

    (@iansadovy)

    Hi Mike,
    It’s good)

    Hi Ivan,

    I’m getting unusual behaviour with pixle width also.

    I’ve set the first column to 100 px and left the second column undefined.

    In the ‘preview’ the table shows a narrow 1st column and the balance in the 2nd column. But when it is displayed on the final web page it is 50/50. Link is below and first column is set at 100 px.

    https://www.jademinternational.com/lbm/members/

    I think it would be easier if the plugin allowed % width also. Then if you have 2 columns you could set say 25/75 and that would be the 100%. The reason I think % width would be better is this get a little bit tricky because of how the table displays on a mobile device.

    Thanks
    Justin

    Plugin Author Ian Sadovy

    (@iansadovy)

    Hello Justin,

    Thank you for writing.
    As for your table, it looks like it has 100px set for both columns (https://take.ms/LiqM3). In such case, it will not work. Please check the width of the second column and unset it.

    As for the % width, it sounds reasonable. Adding this to my backlog for the next updates.

    Please let me know if it helps.

    Regards,
    Ian

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘First column width’ is closed to new replies.