Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12857

    Hi,

    I’d like to replace the “search site” box from my header with a qtranslate widget. I already managed to make the qtranslate widget appear in the header, and placed it above the search box. I followed the tutorial: http://www.kriesi.at/support/topic/language-in-the-header#post-50539%29

    To place the widget I created I used following code in the quick css:

    .container .widget_qtranslate {

    float: right;

    margin-top:-25px;

    padding-right: -20px;

    }

    #top .logo a, #top .logo a:hover {

    top: -80px;

    }

    Now how can I turn off the “search site” box?

    I would be happy if you could help me out. Thanks a lot.

    Best,

    Sascha

    #76937

    Any Idea someone? would be happy if you could hepl me out…

    #76938

    Hey!

    Please delete following code in header.php:

    /*
    * display the theme search form
    * the tempalte file that is called is searchform.php in case you want to edit it
    */
    get_search_form();

    Regards,

    Peter

    #76939

    Hi Peter,

    thanks a lot for your support!!!

    Regards,

    Sascha

    #76940

    Hi Peter,

    when I delete all you posted there is an error, so I just deleted:

    get_search_form();

    and it worked fine, thanks,

    best,

    Sascha

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Remove "Search Site" Box from Header and replace with custom widget’ is closed to new replies.