Reply To: Styling adjustments…

#10309

Ernest Marcinko
Keymaster

That's actually a pretty clever solution. The side effect of moving a DOM node is that the events attached to it (resize namely) will no longer fire. However you can quickly fix that with this script:

jQuery(function($) {
  $(window).on('scroll resize', function(){
      $('#ajaxsearchprores1_1').css('left', $('#ajaxsearchpro1_1').offset().left);
  });
});
Best,
Ernest Marcinko

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