When I decrease the window width on my computer, the navbar's toggle button drops down to reveal the sections. However, when I visit the website on my mobile phone, the button doesn't drop down and acts more like an image. I suspect this is because the button isn't touch-responsive. How can I efficiently convert it into a touch-responsive button for mobile phones?
Below is the code I have worked on so far:
EDIT: In response to requests, here is additional code. This is the HTML head section:
<head>
<title>****</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="/assets/images/logo.png" type="image/x-icon">
<!--fontawesome, bootstrap, jquery-->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"> </script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"> </script>
<!--/fontawesome, bootstrap, jquery-->
<script src="/assets/smooth-scroll.min.js"></script>
<link href="/assets/stylesheet.css" rel="stylesheet">
</head>
HTML
<div class="container-fluid">
<nav class="row navbar">
<div class="navbar-header">
<a class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"><i class="fa fa-lg fa-bars"></i>
<a class="navbar-brand" href="/"><img src="/assets/images/logo.png" width="40" height="40" class="d-inline-block align-top" alt=""> ******</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a data-scroll class="nav-item nav-link" href="#about">About</a></li>
<li><a data-scroll class="nav-item nav-link" href="#getinvolved">Get Involved</a></li>
<li><a data-scroll class="nav-item nav-link" href="#contact">Contact Us</a></li>
</ul>
</div>
</nav>
</div>
CSS
.navbar {
padding: 10px 0px;
}
.navbar-toggle {
border: 1px solid #000;
padding: 11px 10px;
border-radius: 2px;
}
.navbar-brand {
font-size: 22px;
padding: 10px 15px;
color: #000;
}
.navbar-brand:hover, .navbar-brand:focus, .navbar-brand:active {
color: #000;
}
.navbar-brand img{
margin: 0px 10px 0px 0px
}
#navbar a, #navbar a:hover, #navbar a:focus, #navbar a:active {
text-decoration: none;
color: #000;
cursor: default;
}