Title: Search Function
Last modified: August 22, 2016

---

# Search Function

 *  [brilliantburger](https://wordpress.org/support/users/brilliantburger/)
 * (@brilliantburger)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/search-function-24/)
 * Hi
 * Is there any way to overlay the the search function at the top right of the header
   image or embed into the navigation?
 * Really like your template by the way. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Theme Author [TT Themes](https://wordpress.org/support/users/tomastoman/)
 * (@tomastoman)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/search-function-24/#post-5585366)
 * Hi,
 * you can change the position of the header search form using this custom CSS:
 * `body .header-content #searchform .searchform-wrapper {top: 250px;}`
 * To embed it into the navigation bar, you will need to modify the “header.php”
   template, so I can recommend you to create a [child theme](http://codex.wordpress.org/Child_Themes).
   In “header.php”, search for the following code:
 *     ```
       <div class="menu-box">
             <a class="link-home" href="<?php echo esc_url( home_url( '/' ) ); ?>"></a>
       <?php wp_nav_menu( array( 'menu_id'=>'nav', 'theme_location'=>'main-navigation' ) ); ?>
           </div>
       ```
   
 * and modify it in this way:
 *     ```
       <div class="menu-box">
             <a class="link-home" href="<?php echo esc_url( home_url( '/' ) ); ?>"></a>
       <?php wp_nav_menu( array( 'menu_id'=>'nav', 'theme_location'=>'main-navigation' ) ); ?>
       <div style="float: right; width: 10%; margin-top: 7px;"><?php get_search_form(); ?></div>
           </div>
       ```
   
 * Best regards,
    Tomas Toman
 *  Thread Starter [brilliantburger](https://wordpress.org/support/users/brilliantburger/)
 * (@brilliantburger)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/search-function-24/#post-5585374)
 * I will try this. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Search Function’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/brickyard/2.0.3/screenshot.png)
 * BrickYard
 * [Support Threads](https://wordpress.org/support/theme/brickyard/)
 * [Active Topics](https://wordpress.org/support/theme/brickyard/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/brickyard/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/brickyard/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [brilliantburger](https://wordpress.org/support/users/brilliantburger/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/search-function-24/#post-5585374)
 * Status: not resolved