Reply To: Place Search Field within PHP block

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Place Search Field within PHP block Reply To: Place Search Field within PHP block

#2457

Ernest Marcinko
Keymaster

Okay, it's uploaded fine now. I think the problem is that the entire code is echoed inside the span element. As far as I know only inline elements can be placed inside other inline elements in HTML, so that's probably the problem. The search code contains divs, images, forms and those elements are invalid inside a span.

Try to change the span to a div and it should work properly then. You might as well need to change or add a few lines to your CSS to get the positioning right.

Best,
Ernest Marcinko

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