Hello everyone, I am currently using the latest version of Bootstrap for my website. However, I have encountered an issue where the navigation collapses on mobile view. Could anyone provide assistance? Website:
Below is a snippet of my HTML code:
<header class="navbar-inverse" role="banner">
<div class=container>
<nav role="navigation">
<div class="container-fluid">
<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>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li> <a href="http://mywebsyt.net63.net/">Home</a> </li>
<?php
if (AuthUser::isLoggedIn(false))
{
echo '<li><a href="' . get_url('admin/') . '">' . __('Panel') . '</a></li>
<li><a href="' . get_url('login/logout/') . '">' . __('Log out') . '</a></li>
<li><a href="' . get_url('index/upload/') . '">' . __('Upload') . '</a></li>';
}
else
{
echo '<li><a href="' . get_url('login/') . '">' . __('Login') . '</a></li>
<li><a href="' . get_url('index/upload/') . '">' . __('Upload') . '</a></li>';
}
?>
<li><a href="<?php echo get_url('h/') ?>"><?php echo __('Trending') ?></a></li>
<li><a href="<?php echo get_url('d/') ?>"><?php echo __('Popular') ?></a>
<li><a href="<?php echo get_url('r/') ?>"><?php echo __('Rated') ?></a> </li>
</ul>
<form class="navbar-form navbar-right" role="search">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
</div>
</header>
Any help would be greatly appreciated. Thank you.