• Resolved elka16

    (@elka16)


    Hello Tobias
    Unfortunately, I can’t figure out the secret: When I reduce the page to smartphone size, the rows in the table wrap after each letter, but it should happen after each word.

    I also tried this code snippet from this topic (“Want words to wrap, but it’s wrapping by letter” {from: jennbryant}) – unfortunately it doesn’t work …
    Any ideas?

    Best Regards
    Lutz

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The cause for this is some CSS code in your theme. To fix that, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress th,
    .tablepress td {
        word-break: normal !important;
    }

    You will then find that the table might be too wide to fit on a small screen (mainly caused by the very long word “HANDELSVERBAND.swiss”). You could then maybe use the scroll mode of the TablePress Extension from https://tablepress.org/extensions/responsive-tables/ to make all table content usable.

    Regards,
    Tobias

    Thread Starter elka16

    (@elka16)

    Hi
    Thank you for the super-fast info – “!important;” – I should have thought of it myself …
    Once again a donation is due!!!

    Thank you very much,
    Lutz

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lines are wrapped after each letter’ is closed to new replies.