My navbar
is functioning perfectly, but there is a mysterious black line below the burger icon when the menu collapses. Any suggestions on how to remove this unwanted styling would be greatly appreciated.
https://i.sstatic.net/CelqJ.png
<!DOCTYPE html>
<html lang="en">
<head>
<title>HOW WE CAN HELP</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="/css/stylesheet.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
.navbar {
margin-bottom: 0;
border-radius: 0;
background-color: transparent; /* need to choose company colors etc. */
color: #fff;
padding: 0% 0;
border: 0;
border-color: #fff;
}
.navbar-brand {
float: left;
min-height: 55px;
padding: 0px 3px 10px 4px;
}
.navbar-inverse .navbar-nav .active a,
.navbar-inverse .navbar-nav .active a:focus,
.navbar-inverse .navbar-nav .active a:hover {
color: #fff;
background: #fb4f14;
}
/* when hovering over the nav items the colour changes to off whiate #d5d5dd */
.navbar-inverse .navbar-nav li a {
color: #fff;
}
/*
.navbar.navbar-default .navbar-collapse {
border: none;
box-shadow: none;
background-color: #fb4f14;
}
*/
</style>
</head>
<body>
<head>
<!-- navigation bar starts here -->
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#MyNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/index.html"><img height="130%" src="/img/logo-placeholder.png"></a>
</div>
<div class="collapse navbar-collapse" id="MyNavbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="/index.html">Item 1</a></li>
<li class="active"><a href="/pages/help.html">Item 2</a></li>
<li><a href="#">Item 3</a></li>
</ul>
</div>
</div>
</nav>
</head>
</body>
</html>
The above snippet of HTML and CSS showcases my issue with the styled black line. Does anyone have any insights on how to resolve this problem?