This topic has 3 replies, 2 voices, and was last updated 38 minutes ago ago by MAHDAR
Hello, I hope you’re doing well.
1- I have designed a pop-up in Elementor and added the search element, but this element disappears when I try to select or scroll. Please watch the video.
2- And the second issue is that
In my search, I want it to search only in the product titles, not in the descriptions.
For example, if a customer searches for “test” and the word “test” is used in the product description, it appears in the search results, but I want the search to be limited to product titles only.
When I hold down the Control key to open the link in a new tab, the clicked product title replaces the search input.
Dear @MAHDAR,
I hope this message finds you well.
1. You can apply the following custom CSS snippet to the search element in your popup to achieve the desired functionality:
selector .autocomplete-suggestions:has(.autocomplete-suggestions:not(:empty)) {
display: block !important;
}
selector .etheme-search-ajax-results:has(.autocomplete-suggestions:not(:empty)) {
display: block !important;
}
Our theme currently supports search functionality by title, description, SKU, posts, and pages. However, it does not offer the option to search by title only. For further details, you may refer to the following discussions:
1. https://www.8theme.com/topic/ajax-search-product-adjust-to-search-product-but-not-descriptions/#post-319636
2. https://www.8theme.com/topic/search-result-displaying-unrelated-products/#post-347580
If you would like to request the addition of a “title-only” search feature, we encourage you to submit your suggestion on our https://www.8theme.com/taskboard/. If the request garners sufficient support from other users, our development team will consider implementing it in a future update.
Best regards,
Jack Richardson
The 8theme Team
1- I placed this code, but it didn’t work. Could you possibly put it yourself?
You must be logged in to reply to this topic.Log in/Sign up