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

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 MarcinkoErnest 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:

[code]
.proinput input {
min-width: 350px;
}
[/code]

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.