• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Add Google Custom Search In Nav Menu Of Any Theme

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.

Download Code

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.

twenty eleven nav menu

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.

Search

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.