Search for: Search Add search bar to main navigation menu Viewing 2 posts - 1 through 2 (of 2 total) July 23, 2013 at 11:28 pm July 23, 2013 #15841 alanierParticipant I am trying to add a search bar to the main navigation menu on my website (www.vc.alanier2.com). I was able to get the search bar in the menu but it is inserting on a second line. I have used the following code: <span id="search-box"> <?php get_search_form(); ?> </span><!-- end of #search-box --> and the following CSS: #header #search-box { clear:right; float:right; margin:20px -20px 0 0; width:30%; } #header #search-box #s { } .ie7 #header #search-box { margin-top:10px; text-align:right; } Anyone know how to make it so the search bar is on the same line as the menu items? Thank you for the help. July 24, 2013 at 8:45 am July 24, 2013 #15848 Daniel TaraKeymaster Try floating to the left the .menu-navigation-container div. Viewing 2 posts - 1 through 2 (of 2 total) Tagged: menu, navigation, search bar You must be logged in to reply to this topic.