Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ajaz search not showing results on iphone
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 8 years, 11 months ago.
- AuthorPosts
- October 31, 2014 at 1:03 am #2832
Hi,
We have integrated your Ajax search plugin into our website which works fine yet when we test on an iphone and mobile device the results box displays white with no content showing.
Is there a way to optimise the results for mobile? I have attached a screen shot of the issue.
Kind Regards
Christina
[email protected]October 31, 2014 at 8:41 am #2833Hi!
Just took a look at the problem. Luckily it’s just a styling coming from the theme which overrides the upper margin on content elements below screen sizes of 1000px to -100 pixels, so the content is not visible, instead you can see the white background.
The easiest way to fix it is to override that rule, so the content in the search results do not apply to it. Open up the search settings and go to the “Theme Options -> Custom CSS” panel, there is a field where you can put custom CSS code in. Paste this code there:
.resdrg .content { margin-top: 0px !important; }
After saving the search instance, it should be fixed immediately.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 2, 2014 at 9:39 pm #2840Thank you for getting back to me. I just inserted this code and it works!
You’re a legend, much appreciated.Kind Regards
ChristinaNovember 2, 2014 at 9:39 pm #2841No problem at all!
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.