0
這裏是我用來顯示菜單的代碼。正如你可能看到的那樣,菜單項是圖像而不是文本。當您點擊切換按鈕時,我想要做的是恢復顯示文本鏈接,而不是手機和小屏幕設備的圖像。我沒有任何線索!?Bootstrap中移動設備上的另一個菜單內容3
<nav class="navbar navbar-default header-sketch">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html#top"><img class="logo" alt="CarShare Logo" src="img/car-logo.png"></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right desktop">
<li><a class="toscroll" href="#top" title="Home"><img alt="Home" src="img/home.png"></a></li>
<li><a class="toscroll" href="#about" title="About CarShare"><img alt="About CarShare" src="img/about.png"></a></li>
<li><a class="toscroll" href="#signup" title="Sign Up"><img alt="Sign Up" src="img/signup.png"></a></li>
</ul>
</div><!-- End Navbar Collapse -->
</div><!-- End Container Fluid -->
</nav><!-- End Nav -->
Sorted。完善。謝謝。 –