• Resolved Schuko

    (@schuko)


    Hi Tobias,

    I am currently building a webiste for our company. One part of this is a simple planning area, which I want to set up with Tablepress.

    My Problem is the following: When I type in a little more information in one cell, the lines don´t break. Therefore the table is extremly wide.

    Is there some way to fix this?

    I really tried to find some already resolved questions on this but did not succeed.

    Thanks for your help in advance,
    Regards

    http://wordpress.org/extend/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your post.

    I’m not really sure what you mean here. Can you please post a link to the page with the table?
    Also, why don’t you add manual line breaks?

    Regards,
    Tobias

    Thread Starter Schuko

    (@schuko)

    Hi,

    well it seems it was my own stupidity getting in the way there 🙂

    Anyhow, there is one more thing:

    Can I show the borders of the columns to make it nicer to look at and have a better overview?

    Here is the link: http://www.vacomat.de/cad/

    Thank you 🙂

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the link!
    That helped to actually identify an issue on your page. The table Shortcode seems to be wrapped in extra and unnecessary HTML code. To remove that, please go to the editor where you inserted the Shortcode for the table, and switch from the “Visual” editor to the “Text” editor there.
    You should seem something like

    <pre><strong>[table id=3 /]</strong></pre>

    Remove the extra HTML code there, so that this becomes

    [table id=3 /]

    This will already fix the problem with the line breaks, and make the table use the correct fonts.
    You should then also not need the extra CSS that you are using now for the width, so I suggest that you remove that as a test.

    After that, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress, to fix the spacing in the table cells:

    .tablepress td {
      padding: 8px !important;
    }

    Finally, if you really want borders for all cells, please add this:

    .tablepress-id-3 th,
    .tablepress-id-3 td {
        border: 1px solid #dddddd;
    }

    Regards,
    Tobias

    Thread Starter Schuko

    (@schuko)

    Wow, thank you so so much!

    It looks just the way I want it to.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sure, 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 5 replies - 1 through 5 (of 5 total)
  • The topic ‘line break’ is closed to new replies.