Once you work out how to add a widget area in any themes nav menu, you can then simply work out the CSS code to align your Google search (gse) box correctly.
In this post, i’ve already done that for you so you can simply paste the PHP & CSS code in your child themes files.
I’ll also include a child theme you can install for use with any parent theme. Simply change the template name and the name in the import CSS code to the name of your parent theme.
Download Child Theme Which Includes GSE Added To Nav Menu
[like-to-dl theme=”blue” url=”http://wpsites.net/wp-content/uploads/2013/09/childtwentyeleven.zip” like_url=”” message=”Click Like to Start Your Download!”]
Screenshot Result – GSE In Twenty Eleven Theme
Here’s what the search box looks like in the primary menu of the Twenty Eleven Default theme for WordPress.
If you want to add the search box in another theme, you can however you will need to find the class for the primary nav menu and tweak the CSS code to align your box perfectly.