Support » How-To and Troubleshooting » How to extend navigation bar to span entire page.
5 years, 8 months 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:
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:
<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);
Your help is appreciated!