Posted by mmarsello on December 29, 2013 at 3:00pm
Hi all,
Has anyone had success incorporating a search bar into their main menu? I thought about just positioning it with css, but the site is responsive so the layout would change as screen size did. I've seen this done on a number of sites but I can't seem to figure out how to do it the drupal way.
Thanks
Comments
Seen this module?
Hi mmarsello,
I haven't done this myself, although I've added some custom items to a menu using the Menu Inject Block module:
https://drupal.org/project/menu_inject_block
Themes
I'm not an expert, but I recently changed default theme of my panopoly distribution based site to radix and I see it put the search bar in the main menù. It is automatically responsive. When too tight it becomes just an icon. So I believe you can do it in your theme's files.
Thanks for the info, I will
Thanks for the info, I will check out Radix and see if that meets my needs. On the site in question I ended up hardcoding the menu into the tpl file so was able to do it that way too.