Reply To: website shifts position when using exsisting search field

Home Forums Product Support Forums Ajax Search Pro for WordPress Support website shifts position when using exsisting search field Reply To: website shifts position when using exsisting search field

#7031

Ernest Marcinko
Keymaster

Hi!

I've checked the source, you have an invalid HTML there, perhaps by accident. A div with id “search-box” is nested into another div with the same ID. It's probably because of a copy/paste or something, but the inner “search-box” should not be there: https://i.imgur.com/YNo8EPr.png

It's right around the ajax search pro shortcode. This might fix the problem, but I'm not sure.

To make sure the minimal width is not set to something very small, you can try the following custom CSS:

@media only screen and (min-width: 768px) {
    #search-box {
        min-width: 300px;
    }
}
Best,
Ernest Marcinko

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