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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    From what I can see, you have an empty line in the text that you typed in, and that’s what’s visible in the table on the page then.
    Or am I getting something wrong here? Can you maybe clarify which space exactly you mean, e.g. with a screenshot? Thanks!

    Regards,
    Tobias

    Thread Starter miloshapiro

    (@miloshapiro)

    Gosh, I’d put a screen print here for you for sure if I knew how! But I think if I explain it better, you should be able to see it just by going to the link again at https://speaker.miloshapiro.com/?page_id=169.

    I’m saying that within the paragraph itself, the lines of text look very far apart.

    What I’ve done to make this really clear (I hope) is show the problem and what I’d like to see on a non-WP site. This is so easily resolved in FrontPage that I was able to create an example in seconds at https://www.improventures.com/temp/temp.htm .

    Hoping once you see just what I mean you’ll be able to help!
    Thanks so much Tobias!

    Milo

    PS: I DO want that one blank line between the speech title and the first paragraph, btw, so that wasn’t the question. ??

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ah, I think I see what you mean now. From what I can see, the reason for this is the <font> HTML tag that you are using in that cell. That seems to make the browser use a higher line height for the text. I therefore suggest to remove those HTML tags, which will result in the same cell styling as the cell in the second row.
    If you then want to reduce the font size, you should use some CSS code instead of those old and outdated HTML <font> tags.

    Regards,
    Tobias

    Thread Starter miloshapiro

    (@miloshapiro)

    I’ve now removed the tag and the fonts are the same size in both rows of the table…and both sections look nearly double spaced again…just in a larger font than before. Perhaps the spacing looked more dramatic with a smaller font, but even with the default font, the lines are further from each other than I’d like. So I don’t think the font tag has much to do with my goal of getting the lines of text in https://speaker.miloshapiro.com/?page_id=169 closer to one another like they are in the second row of https://www.improventures.com/temp/temp.htm .

    Also, please forgive my novice-ness, but I’m learning to make the leap from FrontPage (with lots of tweaking of its HTML behind the scenes) to the WordPress world and, from what you can see on the site, hopefully doing a fairly good job. But CSS is an unknown to me. If there’s something I need to paste somewhere in CSS, i’m going to need some guidance.

    Regardless, we’ve shown that taking out the font tag doesn’t affect line spacing at all. Again, my thanks for your suggestions! ??

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, but without the <font> tag, we can now change the line height via CSS ?? Please try adding this to the “Custom CSS” textarea on the “Plugin Options” screen:

    .tablepress th,
    .tablepress td {
        line-height: 1.2;
    }

    The default value in your theme is 1.5, so this will reduce the space between the lines nicely.

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Eliminating Double Line spacing in a table’ is closed to new replies.