Reply To: Styling adjustments…


Ernest Marcinko

I see what you mean now.

The delay is added on purpose, because on scrolling the results list (absolute position) needs to be re-positioned to the search bar (static position), and the only way to do that is by moving it with javascript – however doing that X times per second when the scrolling triggers creates a massive performance issue for the browser, so it's solved by delaying the calculation after the scrolling is stopped.

In your case however the header is “moving” with the page, but it's on a fixed position, so I think forcing a fixed position on the results might solve this issue. Try this custom CSS:

div.ajaxsearchpro[id*=ajaxsearchprores1_].vertical {
    position: fixed !important;
    top: 120px !important;

This will force the top position of the results to 120pixels from the viewport at all times. I'm not sure if it works in all cases though.

Ernest Marcinko

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