Support » Themes and Templates » Line break in wp_list_pages (navigation)

  • Resolved loepzuiver

    (@loepzuiver)


    Hi guy’s,

    I would like to make a line break after each page in my navigation.

    Now its like:
    HOME PAGE 01 PAGE 02

    would like to make it:
    HOME
    PAGE 01
    PAGE 02

    This is the default code:
    <?php wp_list_pages(‘hide_empty=0&title_li=’); ?>

    Oh… it really would be awesome if I could also type the vertical distance spacing.. 🙂

Viewing 1 replies (of 1 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    the output of ‘wp_list_pages()’ is a html list, which would show in a vertical list by default, if not styled with css in a different way.

    check the style.css of your theme for the styles of the pages menu.

    the vertical space is then controlled by normal list css

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

Viewing 1 replies (of 1 total)
  • The topic ‘Line break in wp_list_pages (navigation)’ is closed to new replies.