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

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

    Thank you!

    #191976

    Hi matteora!

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

    get_search_form();

    It should be around 160th line and change it to

    //get_search_form();

    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; }

    Regards,
    Yigit

    #192251

    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.