Bootstrap line break between nav bar
<p>I am trying to use bootstrap so that i can make a line break between each of my nav menu.</p>
<p>For example:</p>
<p>Hi  |   Hi1  |  h3</p>
<p>I need it so that the bar at the end also does not show after h3.</p>
<p>I have tried this so far but its not working, its pushing all the nav functions down to the bottom.</p>
<p>HTMKL:</p>
<pre><code>&lt;div class=&quot;navbar navbar-default navbar-fixed-top&quot; role=&quot;navigation&quot;&gt;
  &lt;div class=&quot;container&quot;&gt;
    &lt;div class=&quot;navbar-header&quot;&gt;
      &lt;button type=&quot;button&quot; class=&quot;navbar-toggle&quot; data-toggle=&quot;collapse&quot; data-target=&quot;.navbar-collapse&quot;&gt;
        &lt;span class=&quot;sr-only&quot;&gt;Toggle navigation&lt;/span&gt;
        &lt;span class=&quot;icon-bar&quot;&gt;&lt;/span&gt;
        &lt;span class=&quot;icon-bar&quot;&gt;&lt;/span&gt;
        &lt;span class=&quot;icon-bar&quot;&gt;&lt;/span&gt;
      &lt;/button&gt;
      &lt;div class=&quot;logo&quot;&gt;
        &lt;img src=&quot;Image/Logo.png&quot; class=&quot;img-responsive&quot;/&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;navbar-collapse collapse&quot;&gt;
      &lt;ul class=&quot;nav navbar-nav navbar-right&quot;&gt;
        &lt;li class=&quot;active&quot;&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;       
        &lt;li&gt;&lt;a href=&quot;#about&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&quot;#about&quot;&gt;Login&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&quot;#about&quot;&gt;Become A member&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;&lt;!--/.nav-collapse --&gt;
  &lt;/div&gt;
&lt;/div&gt;
</code></pre>
<p>CSS:</p>
<pre><code>.navbar-default .navbar-nav &gt; li + li:before {
  content: &quot;&quot;;
  display: inline-block;
  vertical-align: middle;
  border-left: 1px solid #ffffff;
  height: 2.5em;
}
</code></pre>
<p>For some reason it does create the lines but it pushs all my texts down. Thanks for all the help.</p>