Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Web Site Functionality _ How to align a logo to navigation menu

Posted by: Grant53787 Jan 31 2020, 08:21 AM

Hi likely a super simple question for the community, I am trying to align a logo to a navigation menu row, however no matter what I do the logo ends up being in the correct possition horizontally but too high or too high and massive spanning the same width of the navigation bar

Please see images link below, I have currently only got the "Incorrect" result but would like the "correct" result.
https://1drv.ms/u/s!An6nk9vqGPC_hpIO9lB0-5kjMKPRWQ?e=ZNilqJ

This is the markup I am trying to edit which returns the "Incorrect" result:

<div class="row">
<div class="col-md-3">
<div class="header-left clearfix">
<div class="logo"> <a href="/"> <img alt="Logo1" id="logo" src="/assets/logo_crisp-b3c19f07667bbc9f267e86129457ee73.jpg"> </a> </div>
</div>
</div>
<div class="col-md-9">
<div class="header-right clearfix">
<div class="main-navigation animated">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button class="navbar-toggle" data-target="#navbar-collapse-1" data-toggle="collapse" type="button"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-1">
<ul class="nav navbar-nav navbar-left">
<li> <a href="/search-site" style="border: 2px solid #006f48;padding: 5px 9px;margin-top: 7px;color: #006f48;">Search site</a> </li>
<li class="active"> <a href="/">Home</a> </li>
<li> <a href="/panel">Council Members</a> </li>
<li> <a href="/about">About & FAQs</a> </li>
<li> <a href="/terms">Terms</a> </li>
<li> <a href="/contact">Contact</a> </li>
</ul>
</div>
</div>
</nav>
</div>
</div>
</div>
</div>

Posted by: pandy Jan 31 2020, 09:00 AM

And the CSS that goes with that? The easiest is if you can link to the online page.

Posted by: Grant53787 Jan 31 2020, 11:36 AM

QUOTE(pandy @ Jan 31 2020, 09:00 AM) *

And the CSS that goes with that? The easiest is if you can link to the online page.

Sure its: https://www.hpa-uk.org/

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)