WordPress.org

Support

Support » Themes and Templates » How to automatically insert a line break after each lists

How to automatically insert a line break after each lists

  • I’ve been messing around with a theme and can’t figure out how to add a line break after a list. Right now it displays the rest of my text right below the end of the list when I want to have a blank line in between the list and the rest of my text.

    Any help will be appreciated. I know it’s probably going to be in the style sheet where my list properties are…but I’m not sure on the syntax I would use. Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mark (podz)

    @podz

    Support Maven

    Can’t see your css or tags, but adding
    margin-top: 10px; to storycontent p
    or
    margin-bottom: 10px; to storycontent ul
    may help….got a link and the exact place ? We can give you precise css then.

    Instead of adding a line break, increase the margins or padding on your list.

    Look for the UL for that particular list and increase the margin and padding there in the style sheet.

    Talk about a fast reply….a top margin in storycontent p worked beautifully. Thanks much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to automatically insert a line break after each lists’ is closed to new replies.