Search Bar in Navigation Header

Excellent theme. I hope you can help.

I’m trying to insert the search bar into the top navigation bar so that it appears to the right hand side of the nav buttons with equal space top and bottom, so it’s also inline with the nav buttons text.

So, I have added in the code <?php get_search_form(); ?> into my header.php file in different places but I can’t get it to appear after my navigation buttons inside the navigation bar.

I’ve tried placing it inside the <div class=“navbar-header”> in various locations but it always appears before the nav buttons. The only way I could position it to the right was using the position element in CSS however this loses it’s fluidity when resizing the browser, overlapping the nav buttons or looking untidy.

If you could provide any help on this I’d really appreciate it!

Thanks, Marc :slight_smile: