Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Styling adjustments… › Reply To: Styling adjustments…
September 30, 2016 at 2:23 pm
#10309
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 :)



