html - Bootstrap navigation: same space between links -
i have website http://sg.nowcommu.myhostpoint.ch/ , can see in navigation space between links different.
how can set same space between <li>
elements?
html:
<div class="navbar navbar-fixed-top" data-activeslide="1"> <div class="container"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div class="nav-collapse collapse navbar-responsive-collapse"> <ul class="nav row"> <li data-slide="4" class="col-12 col-sm-2"><a id="menu-link-4" href="#slide-4" title="next section"> <span class="text">mental coaching</span></a></li> <li data-slide="5" class="col-12 col-sm-2"><a id="menu-link-5" href="#slide-5" title="next section"> <span class="text">personal training</span></a></li> <li data-slide="6" class="col-12 col-sm-2"><a id="menu-link-6" href="#slide-6" title="next section"> <span class="text">ernährungsberatung</span></a></li> <li data-slide="9" class="col-12 col-sm-2"><a id="menu-link-9" href="#slide-9" title="next section"> <span class="text">philosophie</span></a></li> <li data-slide="7" class="col-12 col-sm-2"><a id="menu-link-8" href="#slide-7" title="next section"> <span class="text">feedback</span></a></li> <li data-slide="8" class="col-12 col-sm-2"><a id="menu-link-9" href="#slide-8" title="next section"> <span class="text">kontakt</span></a></li> </ul> </div><!-- /.nav-collapse --> </div><!-- /.container --> </div><!-- /.navbar -->
they equally spaced, 3rd li text longer others, showing more space.
see css below
.nav > li > : padding:10px 0;
Comments
Post a Comment