Creating a Flat List
-
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!
The topic ‘Creating a Flat List’ is closed to new replies.