I have a navigation menu of 10 items and I am trying to display them nicely using bootstrap, but I can't seem to make it work. Here's my items:
$menu_items = array(
'Home' => '#',
'About Us' => '#',
'Events' => '#'),
'Tickets' => '#',
'Hospitality' => '#',
'News' => '#',
'Gallery' => '#',
'Promotions' => '#',
'Sale' => '#',
'Contact Us' => '#');
And here's how I am displaying them now:
<div class="container">
<ul class="row">
<?php foreach ($menu_items as $menu_item => $menu_link ) {
if ( $menu_item == "Home" ) {
echo"<li class='col-lg-offset-1 col-lg-1'> <a href='$menu_link'> $menu_item </a> </li>";
}
else {
echo"<li class='col-lg-1'> <a href='$menu_link'> $menu_item </a> </li>";
}
} ?>
</ul>
</div>
But the thing is.. I want to maximize the whole width of the container so I can't really use an offset. Ideas, anyone?