I have searched through various similar questions, but none of them have provided a solution to my specific issue. I have attempted multiple suggestions, but none have been successful. (I am working with bootstrap4)
Here is the html code I am using:
<nav class="navbar navbar-expand-lg navbar-dark fixed-top" id="mainNav">
<div class="container-float">
<a class="navbar-brand navbar-left js-scroll-trigger" href="#page-top"><img src="{% static 'media/cookie.jpg' %}"></a>
</div>
<div class="container-float">
<button class="navbar-toggler " type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">Menu<i class="fas fa-bars ml-1"></i></button>
</div>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav text-uppercase ml-auto">
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#services">Services</a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#portfolio">Portfolio</a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#about">About</a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#team">Team</a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#contact">Contact</a></li>
</ul>
</div>
</nav>
The media/cookie.jpeg file that I am using as the logo for my website is fairly large, causing the navbar to expand and the links in the list to be vertically aligned in the middle of the navbar. I have attempted different approaches, such as vertical-align:top, but none have resolved the issue.
Is there a way to align the links to the top of the page/navbar instead of having them in the middle?