I have a bootstrap template that I am working on. In the navigation bar there is a "Blog" and "Test"
I deleted it on the test button li class="dropdown ", because I wanted to try making a button where the hang would be active, like on the blog button. But when I hang over the test, the text is displayed only in blue, not on a white background.
I canβt understand how can I do this? I have to make a CSS class for a button on the navigation bar that does not have a drop down list.
For fun, I tried to remove all the CSS, but the freeze still worked on the blog button.
<div class="collapse navbar-collapse" id="navbar-collapse-1">
<ul class="nav navbar-nav ">
<li class="dropdown ">
<a href="blog-large-image-right-sidebar.html" class="dropdown-toggle" data-toggle="dropdown">Blog</a>
<ul class="dropdown-menu">
<li ><a href="index-blog.html">Blog Home <span class="badge">v1.1</span></a></li>
<li ><a href="index-blog-2.html">Blog Home 2 <span class="badge">NEW</span></a></li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav ">
<li>
<a href="blog-large-image-right-sidebar.html" class="dropdown-toggle" data-toggle="dropdown">Test</a>
<ul class="dropdown-menu">
<li ><a href="index-blog.html">Blog Home <span class="badge">v1.1</span></a></li>
<li ><a href="index-blog-2.html">Blog Home 2 <span class="badge">NEW</span></a></li>
<li class="dropdown ">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Large Image</a>
<ul class="dropdown-menu to-left">
<li ><a href="blog-large-image-right-sidebar.html">Right Sidebar</a></li>
<li ><a href="blog-large-image-left-sidebar.html">Left Sidebar</a></li>
<li ><a href="blog-large-image-no-sidebar.html">Without Sidebar</a></li>
</ul>
</li>
<li class="dropdown ">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Medium Image</a>
<ul class="dropdown-menu to-left">
<li ><a href="blog-medium-image-right-sidebar.html">Right Sidebar</a></li>
<li ><a href="blog-medium-image-left-sidebar.html">Left Sidebar</a></li>
<li ><a href="blog-medium-image-no-sidebar.html">Without Sidebar</a></li>
</ul>
</li>
<li class="dropdown ">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Masonry</a>
<ul class="dropdown-menu to-left">
<li ><a href="blog-masonry-right-sidebar.html">Right Sidebar</a></li>
<li ><a href="blog-masonry-left-sidebar.html">Left Sidebar</a></li>
<li ><a href="blog-masonry-no-sidebar.html">Without Sidebar</a></li>
</ul>
</li>
<li ><a href="blog-timeline.html">Timeline</a></li>
<li ><a href="blog-post.html">Blog Post</a></li>
</ul>
</li>
</ul>
</div>
source
share