If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #191812

    I’d like to move the search box from the main menu to the sub menu (top).
    Is it possible?

    Thank you!


    Hi matteora!

    In WordPress dashboard please go to Appearance > Editor and open Header.php file and find


    It should be around 160th line and change it to


    Then find

    <div class='ribbon'></div>
    and add following code to right above it
    <div class="search-head"><?php get_search_form(); ?></div>

    and add following code to Quick CSS

    .search-head { width: 200px; }



    Thank you so much Yigit, I had to work a bit with the spacings, paddings, etc… but eventually I solved any problem with the search bar!

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

The topic ‘Move search box to the (top) sub menu’ is closed to new replies.