• I’m afraid I’m at a complete loss when it comes to preventing longer words being broken into two lines within a table. I have googled ‘tablepress word breaks’, and the suggestion to use the word-break CSS property doesn’t work for me.

    I have tried

    .tablepress {
       word-break: keep-all;
    }

    and I have also tried applying the property specifically to .tablepress thead th and .tablepress tbody td elements, to a specific table, as well as to the whole document body. Using ‘normal’ instead of ‘keep-all’ doesn’t make a difference either.

    Please help – I just can’t figure out what I’m doing wrong!

    • This topic was modified 7 years, 7 months ago by jkneif.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Why you use Table Press? There are lots of other nice Table plugins.

    Thread Starter jkneif

    (@jkneif)

    Anything in particular that you suggest? And would I be able to import my existing tables? I have created over half a dozen, with up to 100 entires each, and I really want to save myself from having to copy & paste the content of every single cell!

    Thread Starter jkneif

    (@jkneif)

    It actually seems to be a problem that is related to the theme I am using (twenty-fifteen), as the issue also occurs outside of tables. I’ve tried applying the word-break attribute to the html element as well, but to no avail.

    Thread Starter jkneif

    (@jkneif)

    I’ve found a solution, so I’ll post the link for anyone with the same problem who might come across this post:

    https://wordpress.org/support/topic/hyphenation-in-twenty-fifteen/

    The issue has nothing to do with TablePress; rather, it is specific to Firefox and the Twenty Fifteen theme.

    Ladyguardian is my saviour!

    Hi,

    thanks for your post, and sorry for the trouble.

    This is indeed a theme issue. Good to hear that you were already able to fix this! 🙂

    Best wishes,
    Tobias

    Thread Starter jkneif

    (@jkneif)

    Yes, it seems like I was wrongly placing the blame on TablePress – I actually really like the plug in, so I’ve rated it accordingly on the download page.

    Thanks for your time and effort, Tobias! 🙂

    Hi,

    no worries! And thanks for the review, I really appreciate it!

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[TablePress] Can’t prevent word breaks’ is closed to new replies.