Home Forums WoodMart support forum stop scrolling when search results are open

stop scrolling when search results are open

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #528860

    Alprio
    Participant

    Hello ,
    How can I stop scrolling when search results are open and it displays some results ?

    #529037

    Hello,

    Can you please explain your issue with the help of the screenshots for a better understanding?

    Best Regards.

    #529335

    Alprio
    Participant

    Hello ,
    When someone searches something , and the results are open it’s not good to scroll on the webpage with the results open. either they have to close or stop scrolling until someone clicks somewhere else.
    I attached video.

    #529515

    Hello,

    Add the following Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS area, the whole site will not be scrolled if a user is scrolled down to the bottom of the dropdown, but this behavior will be present only if the cursor is located over the search result dropdown.

    .wd-header-search-form .wd-scroll-content {
        overscroll-behavior: none;
    }

    Best Regards.

    #529787

    Alprio
    Participant

    Hey,

    Thanks for the code.
    Is there any way to automatically close the search results if they are open when someone scrolls on site instead of search results?

    cause right now , when someone scrolls on search results and then decides to scroll on site , search results remains open.

    Thank you.

    #530319

    Hello,

    No. Search results are not working as simple hover dropdowns, to close search results user needs to click in a place other than search results. Our theme doesn’t have options to behave that he is described, and making such customization out of our support scope.

    Best Regards.

    #530749

    Alprio
    Participant

    hello ,

    ok thank you.

    #530859

    Most Welcome!!!.

    I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.

    We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

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

The topic ‘stop scrolling when search results are open’ is closed to new replies.