Support » Fixing WordPress » How to extend navigation bar to span entire page.

  • Hello all. I’m pretty good at editing code or utilizing plug-ins to their full potential, but this one I can’t figure out. I’d like my navigation bar (pages) to extend beyond the first column of my blog, currently located here:

    If I add any more, they wrap around under “Home” and start a 2nd line. Ideally, I’d like to add a few and have them span the whole page (under “” and beyond).

    Anyone know how to do that? My current header info for it is:

    <div class="Menu">
       <li><a href="<?php echo get_option('home'); ?>/"><span>Home</span></a></li>
    $pages = wp_list_pages('sort_column=menu_order&title_li=&echo=0');
    $pages = preg_replace('%<a ([^>]+)>%U','<a $1><span>', $pages);
    $pages = str_replace('</a>','</span></a>', $pages);
    echo $pages;

    Your help is appreciated!


  • The topic ‘How to extend navigation bar to span entire page.’ is closed to new replies.