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

Reply To: Tiny input box – can't click to type

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Tiny input box – can't click to type Reply To: Tiny input box – can't click to type

#2180
Ernest MarcinkoErnest Marcinko
Keymaster

Hi!

It’s because layer slider loads responsively and the window resize event is not fired afterwards. This is a javascript loophole, but you can try to add the following script to your site header or footer, it should “mimic” the window resize event:

<script>
jQuery(document).ready(function($){
   var scope = $;
   if (typeof aspjQuery != 'undefined')
       scope = aspjQuery;
   setTimeout(function(){
       scope(window).resize();
   }, 3000);
});
</script>

This code will basically wait 3 seconds, then execute a fake window init event, which should restore the search box input width in the layer slider.