Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18554

    Hello.

    I need little help with moving searchbox to above menu.

    http://postimage.org/image/wt7lf14hp/

    I know that I can create whole new searchbox with get_search_form(); in sidebar.php but Im not able with this do with proper styling (size is different and etc.)

    Thanks for reply.

    #99924

    Hi casparus,

    As far as I know the only way to do that would be as you said; add the get_search_form above the menu call in sidebar.php. It should get the same styling but if it isn’t, its pretty simple to just give it the correct styling based on the one added in via a widget.

    Regards,

    Devin

    #99925

    You are right. I just add same name and its done.

    echo ‘<div class=”widget widget_search” id=”search-2″>';

    get_search_form();

    echo ‘</div>';

    #99926

    Hey,

    Glad it is fixed.

    Regards,

    Ismael

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

The topic ‘Search box above menu’ is closed to new replies.