No replies
ahmedsa's picture
Last seen: 6 years 5 weeks ago
Timezone: GMT+2
Joined: 2017-02-11
Posts: 3
Points: 6

How to add menu navigation to my (banner-logo-fixed menu) ?

I work in visual studio 2015 web application mvc

my design i need to do is

I need to add Gray menu (html && css) to (banner-logo-fixed menu)

But i face problem when add gray menu to design(banner-logo-fixed menu)

Gray menu (html && css)


<header class="news">
            <div class="nav">
                    <li class="home"><a href="#">Home</a></li>
                    <li class="tutorials"><a class="active" href="#">Tutorials</a></li>
                    <li class="about"><a href="#">About</a></li>
                    <li class="news"><a href="#">Newsletter</a></li>
                    <li class="contact"><a href="#">Contact</a></li>


body {
  margin: 0;
  padding: 0;
  /*background: #ccc;*/
  background: #ccc;
.nav ul {
  list-style: none;
  background-color: #444;
    /*background-color:  #39bd00;*/
  text-align: center;
  padding: 0;
  margin: 0;
.nav li {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2em;
  line-height: 40px;
  height: 40px;
  border-bottom: 1px solid #888;
.nav a {
  text-decoration: none;
  color: #fff;
  display: block;
  transition: .3s background-color;
.nav a:hover {
  background-color: #005f5f;
.nav {
  background-color: #fff;
  color: #444;
  cursor: default;
@media screen and (min-width: 600px) {
  .nav li {
    width: 120px;
    border-bottom: none;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;

(banner-logo-fixed menu) that i need to add gray menu to it .

How to add menu navigation to my (banner-logo-fixed menu) ?

What I try to

Add gray menu to my design but full design corrupted as my fiddle below :

problem happen here in fiddle