Live-search results box is not responsive

This support request was posted in Flatbase by albanleong

Request ID #4070 In Progress
  • I found a small issue with the live-search results box when viewing it from a mobile device. Seems like the results does not follow the responsive settings of the search-box. Is there a fix for this?

    I’m assuming its just some CSS that I would be able to apply easily?
    Thanks!

    Please see screen-shot below:
    https://www.dropbox.com/s/iw3aqxtwxxwjnh1/live-search-box.png

    Juanfra Aldasoro

    Hi There,

    Thanks for writing.

    Would you please tell me what device/resolution is that are you using/viewing?

    Thanks again,
    Juan.

    I’m testing it on my iPhone 5 in both landscape and portrait mode and on both scenarios, the results box is larger than the screen.

    Also, if you just reduce the browser window to anything less than 790px, you should see that the results box starts to grow and off-aligned with the top search box.

    Juanfra Aldasoro

    Hi,

    Thanks for your response. We’ll be reviewing this issue.

    In the meantime you can try adding the following CSS:

    @media screen and (max-width: 1024px) {
        #search-result{ display: none; }
    }
    

    Best,
    Juan

    Thanks and yes, this CSS code will work for now to hide the search results box.

    Juanfra Aldasoro

    Great. We’ll we working on this issue.

    Have a nice weekend,
    Juan.

    May I also suggest that since the live-search drop-down only shows the post_type = article and faq to also include the following code in header.php (somewhere between line 120-121) so that the search results page is consistent with the live-search drop-down list?

    Thanks! You guys have a great weekend too!

    Uh oh~ Forgot to encode the HTML tags… Let me try again…

    <input type="hidden" name="post_type[]" value="article" />
    <input type="hidden" name="post_type[]" value="faq" />

    Juanfra Aldasoro

    Great, thanks for the suggestion.

    Best,
    Juan.

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

You must be logged in to reply to this topic.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server