• Resolved Haselsmasher

    (@haselsmasher)


    Tobias:

    I’m putting a bulleted list in the contents of cells. I’ve seen your previous answers about not inserting line breaks in the HTML string itself. That has worked well for me to ensure that the list items themselves are single spaced.

    What I’m seeing, however, is an apparent break/blank line after the list – and inside the cell. The URL below shows what I’m talking about. I’d like to remove those to make the table overall more compact.
    https://jimhconsulting.com/?page_id=712

    Any idea how to do that?

    Thanks!

    Jim

    https://www.ads-software.com/plugins/tablepress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Haselsmasher

    (@haselsmasher)

    I may have partially answered my own question:

    I put the following in the Custom CSS section and it improved things.

    ul {
    margin: 0px;
    padding: 0px;
    }

    Jim

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Jim,

    thanks for your post, and sorry for the trouble.

    Most likely, this is indeed related to some CSS that your theme adds for such bullet lists.
    The CSS that you have found will indeed already fix that. I suggest to apply a slight change however, to make this change only apply to lists in tables. Additionally, you could reduce the space after the actual last list item a litte bit more:

    .tablepress ul {
      margin: 0;
      padding: 0;
    }
    .tablepress ul > li:last-child {
      margin-bottom: 0;
    }

    Regards,
    Tobias

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Apparent Blank Line After Bulleted List’ is closed to new replies.