This question has been answered by sottwell. See the first response.
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#"><img class="img-responsive" src="site/img/dragonfly-small.png" alt=""></a>
</li>
<li>
<a href="#content-section-a">About</a>
</li>
<li>
<a href="#content-section-b">Counselling Services</a>
</li>
<li>
<a href="#" data-toggle="modal" data-target="#modal-fees">Fees and Appointments</a>
</li>
<li>
<a href="#" data-toggle="modal" data-target="#modal-contact">Contact</a>
</li>
</ul>
</div>I'm not exactly sure what you're looking for, and I don't use Theme.Bootstrap (but I do use the bootstrap framework). For what it is worth, this is what I have in one of my navbars.
<div class="collapse navbar-collapse"> <ul class="nav navbar-nav navbar-right"> <li> <a href="#"><img class="img-responsive" src="site/img/dragonfly-small.png" alt=""></a> </li> <li> <a href="#content-section-a">About</a> </li> <li> <a href="#content-section-b">Counselling Services</a> </li> <li> <a href="#" data-toggle="modal" data-target="#modal-fees">Fees and Appointments</a> </li> <li> <a href="#" data-toggle="modal" data-target="#modal-contact">Contact</a> </li> </ul> </div>
The navbar is 50px high if it's the Bootstrap default. My png is 40px high to ensure it fits properly.
.navbar-brand {
float: left;
font-size: 18px;
height: 50px;
line-height: 20px;
padding: 15px;
}
.navbar-header .navbar-brand {
padding: 0;
}
Is this an extra? If it is, which Bootstrap extra is it? Never mind, I found it.
Looks pretty complicated. That div (navbar_header) contains the logo, and the button that will open/close the menu for small-screen devices. That makes it tricky to deal with.
The <a> tag has this styling:
.navbar-brand { float: left; font-size: 18px; height: 50px; line-height: 20px; padding: 15px; }
So any image you put in there will get moved out of position by that 15px padding at the top, bottom and each side. What you will need to do is have a more specific CSS directive override that and get rid of the padding.
</a>.navbar-header .navbar-brand { padding: 0; }