In the process of converting an HTML theme to WP. Just added in the List_Pages function and now my navbar is pushed down on the header. I assume the problem lies within how I styled the links in the navigation bar.
HTML BEFORE php:
<ul id="nav">
<li><a href="#">home</a></li>
<li><a href="#">about</a></li>
<li><a href="#">blog</a></li>
<li><a href="#">contact</a></li>
<li><a href="#">hire me</a></li>
<li><a href="#">portfolio</a></li>
</ul>
HTML After PHP:
<ul id="nav">
<?php wp_list_pages(); ?>
</ul>
Here is the CSS snippet for the navbar and normal a link styling :
#nav {
text-align: center;
padding-top: 30px;
}
#nav li {
list-style-type: none;
display: inline;
padding-right: 20px;
}
/*Navigation Bar Link Styling*/
a:link {
color: #e4e4e4;
text-decoration: none;
font-size: 17pt;
font-weight: bold;
}
a:visited {
color: #e4e4e4;
}
a:hover {
color: #ffc000;
}
Thanks in advanced