Search results are behind the menu

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search results are behind the menu

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 6 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10528
    evekj
    evekj
    Participant

    Hi,

    I added search to topbar and search results are behind the menu. How can I fix this?

    Best regards,
    Eve KJ

    #10541
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Eve KJ,

    The problem is that the menu has a higher z-index CSS attribute number, so it appears over the results.

    The fix is very simple, with this custom CSS code you can force the search results list to a higher z-index as the menu, so it appears over it:

    div[id*=ajaxsearchprores] {
        z-index: 99999 !important;
    }

    Apply this code to your theme custom CSS field (if it supports it) or use the custom CSS field on the search plugin back-end.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #10568
    evekj
    evekj
    Participant

    Thank you very much. Now it is OK.

    Best regards,
    Eve KJ

    #10571
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

The topic ‘Search results are behind the menu’ is closed to new replies.