Search Box in menu (2 posts)

  1. ikoshowa
    Posted 4 years ago #


    I'm kind of noob with wordpress, and I don't know if what I'm asking is even possible, but let's try :)

    So, first, I love your theme of course, and I'm gonna use it without the sidebar, but the only thing that I would keep from the sidebar is the search box, but I have absolutly no idea of how to have the search box in the menu area. Could you give me some help with this? I would like to have it on the right side of the pink/red bar.

    Thank you ;)


  2. Caroline Moore
    Theme Author

    Posted 4 years ago #

    This is possible, but a more advanced modification if you're not comfortable with code.

    First you'll need to create a child theme for your changes so they don't get overwritten by future theme updates. Then copy header.php from the original theme into your child theme--this will override the original theme's header and menu area.

    Then add the WordPress function get_search_form() wherever you'd like to add the search form--probably within the NAV tag, after the wp_nav_menu() function in your child theme's header.php.

    Then use CSS in your child themes style.css to float the search form to the right (or wherever you want to place it).

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic