Home Forums WoodMart support forum IF ONLY 2 AJAX SEARCH RESULTS, NO NEED FOR SCROLL BAR

IF ONLY 2 AJAX SEARCH RESULTS, NO NEED FOR SCROLL BAR

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #119212

    Jeriss Cloud Center
    Participant

    If there is only 2 ajax search results, why displaying a scroll bar?
    https://gevcen.tinytake.com/sf/MzQ2NTM0OV8xMDM4NjE1MQ

    #119437

    Hello,

    The window showing the search result has a fixed height and these two items exceed this height that is why the scroll appears.

    Add this code to the Global CSS:

    body .search-results-wrapper .woodmart-scroll .woodmart-search-results {
        min-height: 50vh;
    }

    Best Regards

    #119897

    Jeriss Cloud Center
    Participant

    This is the result of your code. Not working good.
    Can you recheck please?

    Attachments:
    You must be logged in to view attached files.
    #119956

    Hello,

    We need more time for this issue. We shall contact you as soon as we have the solution.

    Best Regards

    #120019

    Jeriss Cloud Center
    Participant

    Ok, I’m waiting for your feedback.
    Thanks

    #120241

    Hello,

    Add this code to the Theme Settings > Custom CSS > Global:

    body .autocomplete-suggestions {
    	animation: wd-fadeIn .3s ease both;
    	margin-bottom: 0;
    }

    Best Regards

    #120291

    Jeriss Cloud Center
    Participant

    It works perfectly, thanks
    Point closed

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

The topic ‘IF ONLY 2 AJAX SEARCH RESULTS, NO NEED FOR SCROLL BAR’ is closed to new replies.