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

    (@tobiasbg)

    Hi Pascal,

    thanks for your post.

    From what I can see, you already seem to have found a solution, by setting a fixed font size on the table cells.
    So, the reason for this problem likely is in your theme: For small screens it simply reduces the font size automatically, to achieve a responsive layout.
    Setting a fixed font size, as you have should change that on the tables.

    Regards,
    Tobias

    Thread Starter icipascal

    (@icipascal)

    Hello Tobias,

    Yes I finally found that I can use fixe size.
    Now is there any instructions to fix the space between lines ?

    Thank you an have a nice day.
    Pascal

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Pascal,

    can you clarify which space between which lines you would like to reduce? I’m not really sure what you mean.

    Regards,
    Tobias

    I was looking for this answer too.

    Within a single cell, I sometimes have more than one line of text. The spacing between those lines seems big. Is there a way to add custom CSS to reduce that space between lines? Code that would affect all cells in that table which might have more than one line of text, not just the single cell? Something like line-height= ?

    Thanks,
    Mike

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Mike,

    yes, line-height should be what you are looking for.
    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thanks so much for the quick response, Tobias.

    I was trying it a few ways, but now have it working by adding that line to my other font attributes. Shown here…

    .tablepress-id-10 tbody td {
    font-family: Helvetica, Verdana, Arial, sans-serif;
    font-size: 12px;
    color: #333333;
    line-height: 1.5;
    }

    I can now adjust that spacing to my liking, and I guess I bothered you about 30 minutes too soon.

    Thanks again,
    Mike

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Mike,

    very nice! Yes, something like that is what I meant. Good to see that you already found the necessary code! ??

    Best wishes,
    Tobias

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Spacing between lines’ is closed to new replies.