• Resolved mattneub

    (@mattneub)


    I’ve been playing with the Additional CSS, trying to bring down the article font size and line spacing in my twenty nineteen site. Could some kind soul take a look at the page in question, scroll down to the series of bullet list items, and explain to me why I’m getting extra line leading after just the _first_ line of every bullet item and what I can do about it? Thanks.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Hmm not sure I understand what you mean. Can you post a screenshot? You can put an image on a sharing service and link it here

    Thread Starter mattneub

    (@mattneub)

    @anevins Like this:

    View post on imgur.com

    If you scroll down on the linked page, you’ll see that. There is space just between lines 1 and 2 of each bullet item. Subsequent lines of a bullet item have the line spacing I want.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Oh I see, that’s because inside your list item there is a paragraph element. Can I ask how the list item was created?

    Thread Starter mattneub

    (@mattneub)

    The paragraph element inside the list item is good. This is all done thru JetPack Markdown. My additional css specifies

    p {
    	font-size:0.9em;
    	line-height:1.2;
    }

    And that’s being obeyed throughout, including inside li. But what is causing the extra space between only the first two lines of the li p entries is mystifying me.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Where is the extra space? To me they all look equal: https://imgur.com/a/0wm69qR

    Thread Starter mattneub

    (@mattneub)

    @anevins Well for example in your own screen shot, the line “If a view controller is in” is separated from the next line, “controller, the newly” a lot more than all the rest of the same paragraph’s lines are separated from one another (e.g. “controller on the” from “navigation controller’s stack”).

    • This reply was modified 6 years ago by mattneub.
    • This reply was modified 6 years ago by mattneub.
    Thread Starter mattneub

    (@mattneub)

    OK solved by adding some more css, but I still don’t understand the original cause. Thanks anyway.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘why is there extra space after the first line of bullet lists?’ is closed to new replies.