WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. hoodleehoo
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Need a link to your site in order to help.

  3. hoodleehoo
    Member
    Posted 1 year 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 1 year ago #

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

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

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

    http://www.w3schools.com/css/css_list.asp

    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
    Member
    Posted 1 year ago #

    Thanks! Where do I put this?

  7. hoodleehoo
    Member
    Posted 1 year 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

Tags

No tags yet.