Reply To: contain search box in header

Ernest Marcinko
Ernest Marcinko


It’s been requested a few times so I’m definitely implementing a fixed width option. In some cases I also experienced incorrect width, mainly on header menus. I don’t know yet why it happens, but something is definitely wrong with the width calculation. Anyways, this is going to be changed soon, as the current state still respects IE8, but it’s deprecated, so finally I can remove those thing from the js code. Anyways, with a simple CSS snippet you can force a minimal width on the search bar:

#ajaxsearchpro1_1 {
   min-width: 400px !important;

You can put this code anywhere in your stylesheet, or you can use the plugins Theme Options -> Custom CSS tab as well.

Ernest Marcinko

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