Reply To: Search no working with normal posts

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search no working with normal posts Reply To: Search no working with normal posts

#4490
Ernest Marcinko
Ernest Marcinko
Keymaster

Hi!

It’s not because of the plugin. The container, in which the search is placed on your site is 48% of width, and I see you changed it to ABSOLUTE position in the style.basic.css file. An absolute positioned element is removed from the document flow thus the keywords are floating over the page. Moreover the parent element is not set to relative position, so on higher resolution the search flies from the page as on my screen: https://i.imgur.com/SGsKNXn.png

You need to set the slider element to a relative position:

.home-slider {
    position: relative;
}

And change the absolute values to percents for the search:

.asp_two_column {
  margin: 8px 0 12px 0;
  position: absolute;
  top: 15%;
  left: 4%;
}

So it will look like this on big screens: https://i.imgur.com/TpJsE2n.png
And like this on mobile screens: https://i.imgur.com/1biNrks.png

I can’t really provide support regarding customizations, but this is how I should do it 😉

Best,
Ernest Marcinko

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