• Resolved icipascal

    (@icipascal)


    Hello Tobias,

    I worked a lot with TablePress since a week. My only challenge is that it change the size of the typo automatically and the normal spacing between lines. Basically, it goes smaller depending of the size of the window.

    I took 2 kind of screenshots :
    deskptop : http://cl.ly/image/2Z3r3C1G3v28
    iphone : http://cl.ly/image/1a3H2I1A3G29

    see it live : http://pnddesign.ca/product-repost/dev-plans/

    ———————————————————————

    So my question is …

    1) Can I control the ratio of the font because I think it goes way too small.

    2) What about the space between the ligns ? There is obviously too much space.

    (I guess it’s all about CSS … I’ll be happy to see detail exemples of what we can do with this.)

    Thank you very much for all your great work 🙂

    Pascal

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

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.