• Resolved barritwinn

    (@barritwinn)


    although your coding worked on all tables imported so far, the latest table doesnt show all columns. is there any code to change font and column size to make the whole table fit on the page?

    i think its due to one column being very wide.

    i’d like the coloumns to all be wide enough for the text entered and only wrap if its too long to fit into the pade width.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This is basically the result of the CSS

    .tablepress thead th,
    .tablepress tbody td {
    	white-space: nowrap;
    }

    that you added. This disallows any automatic line breaks in all (!) tables.

    I recommend to remove that again, and only add it for selected columns, where it makes sense, like

    .tablepress-id-70 .column-1,
    .tablepress-id-70 .column-4 {
      white-space: nowrap;
    }

    Regards,
    Tobias

    Thread Starter barritwinn

    (@barritwinn)

    once again you’re a star!!! that code is easily adapted to any future tables i add where i dont want any wrapped text.

    Thanks again!!!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Still got Width Issues’ is closed to new replies.