WordPress.org

Support

Support » Themes and Templates » Stripping wp_list_pages of styling

Stripping wp_list_pages of styling

  • ravenzachary
    Member

    @ravenzachary

    How do I turn wp_list_pages into a list of my pages for a horizontal nav bar separated only by spaces, instead of having li lists? Is there a way to exclude this styling in the call itself?

Viewing 1 replies (of 1 total)
  • ravenzachary
    Member

    @ravenzachary

    Got it…

    In the header..

    <?php wp_list_pages(‘title_li=’); ?>

    In the styles.css…

    li.page_item {
    list-style-type: none;
    float: left;
    margin: 0 0.15em;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Stripping wp_list_pages of styling’ is closed to new replies.