• Resolved moessap

    (@moessap)


    The theme I’m using doesn’t integrate pages in the header, so I tried to add them myself.

    I did this successfully by adding the following in header.php:

    <div id=”pages”>
    <ul id=”pagesnav”>
    <?php wp_list_pages(‘title_li=&depth=1’); ?>
    </ ul>
    </div>

    And then added the following in the stylesheet:

    #pages {
    font-size: 15px;
    }

    ul#pagesnav {
    list-style-type:none;
    list-style-image:none;
    padding:5px 5px 0;
    height:35px;
    width:100%;
    margin:auto;
    }

    The site is http://site6.mattmossop.com (just started it).

    It worked, however I want the pages in a single row, as opposed to a in a column.

    I’ve tried a few things and can’t figure this out.

    Any help would be appreciated.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Creating a Flat List’ is closed to new replies.