Ajaz search not showing results on iphone

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 Ernest Marcinko 7 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2832
    Chrissey Skord
    Chrissey Skord
    Participant

    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]

    #2833
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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 :)


    #2840
    Chrissey Skord
    Chrissey Skord
    Participant

    Thank you for getting back to me. I just inserted this code and it works!
    You’re a legend, much appreciated.

    Kind Regards
    Christina

    #2841
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    No problem at all!

    Best,
    Ernest Marcinko

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


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.