• Resolved MichaelDeger

    (@michaeldeger)


    Hi,

    I’ve played with Tablepress, it is a good way to integrate my image galleries.

    But one problem is – the rows in the table don’t have the same distance.
    ( see 5th row – the distance from the 4th row is too large )
    The distances of the rows should be identical.
    Do you have any idea why?

    here is the link: http://wordpress65xxx.galaxyphoto.de/star-clusters/

    Michael

    • This topic was modified 9 years, 11 months ago by MichaelDeger.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This is caused by extra line breaks in the table cells. Those are automatically converted to HTML <br /> tags. You should either remove all extra line breaks from your table cells (so that the HTML code in the cells basically appears in one line of text when you drag the text fields very large), or turn of that conversion, by adding another parameter to the Shortcode:
    [table id=6 convert_line_breaks=false /]

    Regards,
    Tobias

    Thread Starter MichaelDeger

    (@michaeldeger)

    Hi,

    thank you very much for your help! I have copied the table and tried your 2 solutions.

    1. I have removed all extra line breaks from the table cells

    – result: all the rows have the same distance, but the automatical line break is a little bit confusing.

    2. I have not removed all extra line breaks, added your Shortcode to the table

    – result: all the rows has the same distance, the line breaks are as desired!

    here is the link: http://wordpress65xxx.galaxyphoto.de/star-clusters/

    Regards,
    Michael

    • This reply was modified 9 years, 11 months ago by MichaelDeger.
    • This reply was modified 9 years, 11 months ago by MichaelDeger.
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Michael,

    great! 🙂 So with this method, everything is working as expected now?

    Best wishes,
    Tobias

    Thread Starter MichaelDeger

    (@michaeldeger)

    Hi Tobias,

    as I see it – it works with “method 2”. All rows have the same distance
    and I can set line breaks.

    Thanks again

    Regards,
    Michael

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Michael,

    awesome! Thanks for the confirmation!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Distance of table rows is not identical’ is closed to new replies.