Reply To: Cannot change input width beyond 98px

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Cannot change input width beyond 98px Reply To: Cannot change input width beyond 98px

#4187

Ernest Marcinko
Keymaster

Hi!

Of course. In some cases if the search bar is placed to appear on a javascript event (like in your case) the width is not triggered to calculate correctly.

The best and simplest fix is to force a min-width CSS attribute for the input fields:

.proinput input {
    min-width: 350px;
}

You can add this code to the Custom CSS field, which you can find on the Theme Options->Custom CSS panel on the search options page.

Best,
Ernest Marcinko

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