• 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

Expanding Search Box In Site Header – Genesis Sample Theme

The code in this download folder is an update to this older Javascript solution which uses pure CSS and no Javascript.

Expanding Search Form Genesis

The solution uses the genesis_header_right hook to execute the WordPress search function within the site-header div of the Genesis Sample child theme.

It also includes the code to add back the primary nav menu using the genesis_after_header hook.

Watch the following demo video to see how it works :

Demo Video #

Shows the custom search form expanding in the header right hook position in the Genesis Sample child theme by StudioPress.

Can be positioned using any Genesis or WordPress hook.

Code Installation – From Download Folder #

There’s 4 steps :

Step 1 – In config > menus.php, change the name of the Header Menu to After header Menu like this :


return array(
    'primary'   => __( 'After Header Menu', 'genesis-sample' ),
    'secondary' => __( 'Footer Menu', 'genesis-sample' ),
);

Register for full access

Related Tutorials

  • Animated Search Form In Header Right Widget – Genesis Sample Theme

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.