This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Search icon at navigation bar

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search icon at navigation bar

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #53372
    rawmixrawmix
    Participant

    Hi

    I’m trying to have the search function similar to your website. https://ajaxsearchpro.com/

    I will like to show the search icon and when click, the search field will slide out.

    I read through the documentation but couldn’t figure out how to do it. Can you advise me, please?

    Best Regards
    Din

    #53373
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Din,

    The best and easiest way to replicate that is to place a custom HTML block into the header (to have correct relative positions for the search container) with the search shortcode. It differs for every navigation, but generaly this:

    <div style='position:relative;min-width:70px;min-height:60px'>[wd_asp id=1]</div>

    This will output the search wrapped into a relative container. Now, going to the plugin search instance settings, use the following configuration: https://i.imgur.com/nEbu81S.png

    You may have to adjust the min-height on the container code, and maybe the top value on the settings, but this should do it 🙂

    #53380
    rawmixrawmix
    Participant

    You cannot access this content.

    #53381
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #53382
    rawmixrawmix
    Participant

    You cannot access this content.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Search icon at navigation bar’ is closed to new replies.