• Resolved hebhansen

    (@hebhansen)


    Hey

    Theme TT4 – WP 6.5

    In wp 6.5 anything can be added to navigation menus in block themes. I have moved the search field inside the menu, and now the ajax pop-up has dislocated itself and appears at random.

    This happened after moving the search field into the nav menu. You may try out the search at the link.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mikko Saari

    (@msaari)

    That’s better on my test site, where the search results pop up doesn’t show up at all ?? Adding this to the theme functions.php should fix the problem:

    add_filter( 'relevanssi_live_search_add_result_div', '__return_false' );

    Thread Starter hebhansen

    (@hebhansen)

    It sure did. Thx big time. Are you throwing this in the plugin or should I keep it for ever in my functions? I mark as resolved. Thx

    One more question… What z-index does the drop down use, in case I mess with mega menus etc.? Maybe consider they are rolled out with wp 6.5 in beta state.

    • This reply was modified 7 months, 3 weeks ago by hebhansen.
    Plugin Author Mikko Saari

    (@msaari)

    Keep it in, because it’s a customization only some themes need.

    The .relevanssi-live-search-results class has a z-index of 9999995 by default.

    Thread Starter hebhansen

    (@hebhansen)

    Ha ha ha ha – that’s a good number ??

    I will leave this code in. Thx again. Wish you a great day

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search box inside main menu – Pop up goes astray’ is closed to new replies.