I have a website set up using the Bootstrap framework.
I have a navigation bar with my page items listed from WordPress as such:
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Brand</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<?php wp_list_pages('title_li=');?>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
This works fine, however I can't style the page elements (<li>) anymore and the styling doesn't appear the same way as if I were to manually list the pages as such:
<ul class="nav navbar-nav">
<li><a href="index">Home</a></li>
<li><a href="index">Home</a></li>
<li><a href="index">Home</a></li>
...
</ul>
How do I style the elements if I use it the WordPress way? If I make my navbar white then the menu items cannot be seen as they are also white by default and I cannot change them.
EDIT:
This is the HTML output in the source code for the navbar items:
<ul class="nav navbar-nav">
<li class="page_item page-item-2 current_page_item"><a href="http://shabaz.comoj.com/">Home</a></li>
<li class="page_item page-item-11"><a href="http://shabaz.comoj.com/?page_id=11">Portfolio</a></li>
<li class="page_item page-item-46"><a href="http://shabaz.comoj.com/?page_id=46">Services</a></li>
<li class="page_item page-item-21"><a href="http://shabaz.comoj.com/?page_id=21">Gallery</a></li>
<li class="page_item page-item-24"><a href="http://shabaz.comoj.com/?page_id=24">Contact</a></li>
</ul>
See Source Code Here