WordPress.org

Forums

How to extend navigation bar to span entire page. (1 post)

  1. kyled714
    Member
    Posted 4 years ago #

    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:

    http://www.kyle.tv

    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 "kyle.tv" and beyond).

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

    <div class="Menu">
       <ul>
       <li><a href="<?php echo get_option('home'); ?>/"><span>Home</span></a></li>
    <?php
    $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;
    ?>
      </ul>
    </div>
    </div>

    Your help is appreciated!

    kyle

Topic Closed

This topic has been closed to new replies.

About this Topic