Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Vertical Aligment › Reply To: Vertical Aligment
May 11, 2015 at 12:25 pm
#4684
Hi!
The problem is that the search is contained within DIV elements, which are rendered as block types. Blocking elements are acting as container blocks, so they are placed on top of each other.
It’s hard to tell only by the screenshot if the buttons are in the same container as the search bar, and if their container is a block or an inline element.
You can try this custom CSS, but I have no idea if this is going to work, because as I said, it depends on search bar placement and button placement:
.ajaxsearchpro.asp_main_container {
display: inline-block !important;
}
..and you might also need to force exact width, but I’m not sure:
.ajaxsearchpro.asp_main_container {
display: inline-block !important;
width: 300px !important;
}
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)