• Resolved seto76

    (@seto76)


    hi support team,

    first of all, thank you very much for your great plugin.

    i have a problem with the display of the results list on the tablet and the smartphone.

    i would like the results list to be displayed above the search field (towards the top). i managed to do this on the desktop with the following code, but unfortunately it doesn’t work on the tablet and smartphone.

    /* IVORY SEARCH | RESULTS TO TOP */
    @media only screen and (max-width: 921px) {
    div#is-ajax-search-result-2841 {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-115%);
    z-index: 9999;
    }
    }

    furthermore, the results list on the tablet is displayed centered to the search field

    https://imgur.com/a/EL5hjKs

    but not on the smartphone, why is that?

    https://imgur.com/a/c2kHX5d

    i’ve tried a few things, but i couldn’t position the results list centered, as it is on the tablet.

    I really hope that you can help me.

    thank you very much in advance

    best regards
    sergio

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    I hope you are well today and thank you for your question.

    Please try using the below CSS code.

    /* IVORY SEARCH | RESULTS TO TOP */
    @media only screen and (max-width: 921px) {
    div#is-ajax-search-result-2841 {
    transform: translateY(-115%);
    z-index: 9999999;
    }
    }

    @media screen and (max-width: 510px) {
    .is-ajax-search-result {
    left: auto !important;
    right: 40px !important;
    }
    }

    Best regards,

    Thread Starter seto76

    (@seto76)

    hi vinod,

    thank you very much for your help. i was able to solve the problem as follows:

    /* IVORY SEARCH | RESULTS TO TOP */
    @media only screen and (max-width: 921px) {
    div#is-ajax-search-result-2841 {
    transform: translateY(-115%);
    z-index: 9999999;
    left: auto !important;
    right: 20px !important;
    }
    }

    thanks again.

    best regards
    sergio

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    You are always welcome, I’m glad I was able to help you with this matter. There is no obligation but by your kind words I wonder if I could trouble you to leave a review based on this experience here:

    Click to leave a review

    I’d appreciate that. ??

    If I can help you further, please don’t hesitate to ask.

    Thread Starter seto76

    (@seto76)

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    Thank you very much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.