WordPress.org

Ready to get started?Download WordPress

Forums

Stripping wp_list_pages of styling (2 posts)

  1. ravenzachary
    Member
    Posted 8 years ago #

    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?

  2. ravenzachary
    Member
    Posted 8 years ago #

    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;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic