I'm currently using bootstrap to construct my website. The navbar I have is quite typical with menu options, but I am aiming to modify the CSS in order to achieve a design similar to the image provided below (this design should be responsive and functional on mobile devices as well).
https://i.sstatic.net/TedBf.png
The image displayed above illustrates the desired outcome.
<nav class="navbar navbar-default navbar-default-light navbar-fixed-top">
<div class="container">
<div class="navbar-header page-scroll">
<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 page-scroll" href="index.php"><img src="assets/img/img.png" width="152px"></a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="hidden">
<a href="index.php"></a>
<!-- menu options -->
</li>
</ul>
</div>
</div>
</nav>
CSS code snippet: the CSS for the navbar class utilized is the default style from Bootstrap.
.navbar-default {
border-color: transparent;
background-color: #1f3741;
padding: 25px 0;
border: 0;
background-color: #ffffff;
-webkit-transition: padding .3s;
-moz-transition: padding .3s;
transition: padding .3s;
}
.navbar-default-light{
background-color: transparent;
}
.navbar-default .navbar-brand {
font-family : Lato,"Helvetica Neue",Helvetica,Arial,cursive;
color: #1676a9;
margin-top:-10px;
}
.navbar-default .navbar-collapse {
border-color: rgba(255,255,255,.02);
padding-top: 15px;
}
.navbar-default .navbar-toggle {
border-color: #1676a9;
background-color: #1676a9;
}
.navbar-default .navbar-toggle .icon-bar {
background-color: #fff;
}
.navbar-default .nav li a {
font-size: 16px;
font-family: "Raleway", "Helvetica", sans-serif;
text-transform: uppercase;
line-height: 1.2;
padding: 15px 10px;
color: rgb(0, 0, 0);
}
.navbar-default-light .navbar-collapse {
margin-top: 20px;
}
.navbar-default-light .nav li a {
color: rgb(255, 255, 255);
}
.navbar-default .navbar-brand {
font-size: 2em;
-webkit-transition: all .3s;
-moz-transition: all .3s;
transition: all .3s;
}
Could someone provide assistance with this issue?