• Resolved JoyceD6

    (@joyced6)


    I tried putting <?php get_search_form(); ?> after <?php cryout_access_hook();?> and before </nav> in the header.php of my child theme, but it messes up the drop down menu function. The search form shows up in the menu and works, though.

    How can I get the search form to show up in the menu without it interfering with the drop down menu item and menu links on the top/main menu?

    My site is here: http://dmuuc.org/

Viewing 6 replies - 1 through 6 (of 6 total)
  • salsaturation

    (@salsaturation)

    Looks like you have removed the search so not able to see the issue

    Thread Starter JoyceD6

    (@joyced6)

    I don’t want to leave my site broken. Do you have instructions for adding search to the menu?

    Putting it before the ‘</nav>’ is the logical place to put but I cant’ help you without seeing what the issue is

    put it in and add

    display: none; css so it doesn’t show up and someone can have a look

    Thread Starter JoyceD6

    (@joyced6)

    OK, I figured out how to do the css “display: none;”. It works now as if the form wasn’t there, though when it’s visible the menu links don’t work and there are no drop-down menus. http://dmuuc.org/

    Thanks!

    Just add

    #header #searchform {
    float: right;
    margin: -5px 0;
    }
    Thread Starter JoyceD6

    (@joyced6)

    Fantastic! It works great. Thank you so much!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Adding search to the menu’ is closed to new replies.