I'd like to know how I can add the search block into the menu bar. Can you (anyone) help?

I did a search, but I didn't find anything useful.

Thank you in advance.

Comments

presleyd’s picture

You can always just move the block there, but I don't think there is any theming available by default so it might look odd.

Go to /admin/structure/block on your site and move the Search Form to the region called Menu Bar.

There is CSS to have it in the header however, so perhaps that would work for you? If you really want it in the Menu Bar you will probably have to add some CSS yourself.

MariskaTh’s picture

I got some extra space for the search block in the menu bar:

#menu-bar
{
width:1130px;
}

#block-superfish-1 (main menu)
{
width:870px;
}

In the blocks overview I have placed the search-block above the main-menu block and now they are next to each other, first the main-menu and than the search block.

Mariska.

PetraD’s picture

Hi Mariska,

Im searching how to get that extra space in the menubar.
Where do u fill that in?

Thanks!

noahldavis’s picture

Status: Active » Closed (outdated)