The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Line break in wp_list_pages (navigation) (2 posts)

  1. loepzuiver
    Posted 5 years ago #

    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:
    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.. :)

  2. Michael
    Forum Moderator
    Posted 5 years ago #

    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


Topic Closed

This topic has been closed to new replies.

About this Topic