无法让移动导航栏工作

时间:2017-07-16 22:57:30

标签: html css navbar

试图使我的移动导航栏不正确。有谁看到了问题?我只有几个月的经验,需要快速的帮助。非常感谢!

如您所见,它根本不显示导航栏。联系页面无法点击。它缺少服务链接

*******************
    NAV MENU MOBILE  
******************* 
-->
<div class="menu-wrap mobile">
  <div class="container">
    <div class="row">
      <div class="col-sm-3 no-padding">
        <a href="index.html"><img src="img/logo.png" alt="logo" class="logo-menu"></a>
      </div>
      <div class="col-sm-9 col-lg-7 col-lg-offset-2 no-padding">
        <nav class="nav-menu">
          <button class="menu-toggle">
          <span class="icon"></span>
          <span class="icon"></span>
          <span class="icon"></span>
          </button>
          <ul class="main-menu">
            <li class="menu-item active menu-item-has-children">
              <a href="index.html">Home</a>
            </li>
            <li class="menu-item menu-item-has-children">
              <a>Hosting</a>
              <ul class="sub-menu">
                <li class="menu-item"><a href="hosting.html">Shared Hosting</a></li>
                <li class="menu-item"><a href="reseller.html">Reseller Hosting</a></li>
                <li class="menu-item"><a href="cloud.html">Cloud VPS</a></li>
                <li class="menu-item"><a href="servers.html">Dedicated Server</a></li>
              </ul>
            </li>
            <li class="menu-item">
              <a href="domains.html">Domains</a>
            </li>
            <li class="menu-item menu-item-has-children">
              <a href="blog.html>Blog</a>
            </li>
            <li class="menu-item menu-item-has-children">
              <a href="services.html>Services</a>
            </li>
            <li class="menu-item menu-last">
                <a class="menu-item" href="contact.html">Contact</a>
            </li>
          </ul>
        </nav>
      </div>
    </div>
  </div>
</div>

navbar

2 个答案:

答案 0 :(得分:0)

<a href="services.html>Services</a>

应该是

<a href="services.html">Services</a>

你遗漏了第二个"

答案 1 :(得分:0)

在这两个链接......

colspan="2"

...缺少 <a href="blog.html>Blog</a> <a href="services.html>Services</a> 属性的结束引用。应该是

href