stop scrolling when search results are open
-
Hello ,
How can I stop scrolling when search results are open and it displays some results ?
Hello,
Can you please explain your issue with the help of the screenshots for a better understanding?
Best Regards.
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.
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.
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.
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.
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.
The topic ‘stop scrolling when search results are open’ is closed to new replies.