Home>Support>Having problems with the Search in the navbar….

Having problems with the Search in the navbar….

I am using a new search utility and the Search box blinks. I’ve gone thru this with you on another search and it’s not them. The theme causes the search box to disappear when clicked. I’ve done as much as I could to stop disappearing. Now it blinks. How can I make it stable?

URL: http://dev.atlona.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 7 months ago Greg Priday
    Hi, I Work Here

    Hi Michael,

    This appears to be a conflict between the search box you’re using and the search bar that comes with Vantage. The code that’s causing a problem is on line 131 of jquery.theme-main.js.

    $(document).click(function(){
        if(!isSearchHover) $('#search-icon form').fadeOut(250);
    });
    

    I’m not sure how you’re inserting this, but all you’d need to do is make sure that you’re not adding the new form inside the #search-icon div and that fade out won’t effect your search form.

  2. 9 years, 7 months ago Michael Dodsworth

    Greg,

    In order for the search to be on the navbar it has to be in #search-icon div. I guess we have to alter the js file to eliminate the fade out. Thoughts?

    Mike

  3. 9 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Hi Mike

    Apologies for the delay here. Looks like you’ve made progress. Your search form isn’t fading like it was before.

    Let us know if you still need a hand.

  4. 9 years, 7 months ago Michael Dodsworth

    Andrew,

    It seems to be working in Chrome but now in IE and Firefox the search disappears again? Can you check on your end?

    Thanks

    Mike

  5. 9 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for the feedback. I’m afraid my JS isn’t at the point where I can be helpful here. Hopefully Greg will be able to take a look and advise why that’s happening.

  6. 9 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Braam, one of our developers had a chance to take a look now. His feedback is as follows:

    On the `form` element there’s an inline `display: block !important;`
    That changes to `display: none;` when it loses focus.
    The form with class isp_search_box_form.
    There is some JS firing on click or focus events of that input.
    Because this is only happening in Firefox we’d guess that there is some user agent detection happening.

    We do our best to help out with small customisations but don’t officially offer support on them. I’m afraid there isn’t much more we can do to assist on this. Hopefully you’ll be able to make your way through this last hurdle.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More