Looking for a way to adjust the positioning of badges next to each drop-down menu option. Currently, the layout of the badges appears like this:
Here is the code associated with it:
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="dropdown ">
<a data-target="/business" href="/business" class="dropdown-toggle" data-toggle="dropdown">Business<b class="caret"></b></a>
<ul class="dropdown-menu">
<li >
<a href="/economy">Economy <span class='badge' today: 2</span></a>
</li>
<li >
<a href="/financials">Financial Reports <span class='badge' today: 78</span></a>
</li>
<li >
<a href="/interest">Interest Rates </a>
</li>
</ul>
</li>
</ul>
</div>
When I try adding 'pull-right' to the badge class, it causes the badges to overlap:
I am using bootstrap3 with the bootswatch cosmo template. Any suggestions on how to resolve this issue?