• I tried this on themes and templates. No help.

    Quick question.

    I’ve added pages to my footer. Instead of listing the pages how can I get them to go across the footer horizontally?

    Example:

    About | Contact | Advertise| Links

    Thanks,

    Jason

Viewing 1 replies (of 1 total)
  • You can list them and have them display horizontally.

    Markup:

    <div id="footer">
    [...]
    <ul class="pages">
    <?php wp_list_pages('title_li=&amp;depth=1');?>
    </ul>
    [...]
    </div>

    CSS:

    #footer .pages {
    	margin:0;
    	padding:0;
    }
    #footer .pages li {
    	display:inline;
    	margin:0 3px;
    	padding:0;
    	list-style:none;
    }

    Edit: And the code block is messing up the ampersands again! *sigh*

Viewing 1 replies (of 1 total)

The topic ‘Adding page codes’ is closed to new replies.