How do I keep spaces between list items? (7 posts)

  1. hoodleehoo
    Posted 2 years ago #

    I create quite a bit of numbered lists and I like there to be spaces between the paragraphs. But when I save the post the spaces disappear. What gives???

  2. Aaron
    Posted 2 years ago #

    Need a link to your site in order to help.

  3. hoodleehoo
    Posted 2 years ago #

    It's any wordpress site. Are you saying it should normally keep the space between the numbered lists when I shift+space?

  4. Andrew
    Forum moderator
    Posted 2 years ago #

    Some websites use CSS to override spacing any user may add within the WordPress dashboard.

  5. WPyogi
    Forum Moderator
    Posted 2 years ago #

    You may need to modify the CSS code that controls the spacing on list items -- see this page re: list styles:


    So you might add something like this:

    ol li {
       line-height: 1.5;

    It can also be done using margins in the above code. Restricting the change to certain lists could be done using selectors in the CSS or adding a specific class to lists you want to be different.

  6. hoodleehoo
    Posted 2 years ago #

    Thanks! Where do I put this?

  7. hoodleehoo
    Posted 2 years ago #

    Okay, I added the code above to the settings part of the custom css manager plugin. Is that right?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.