Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Highlight text in search results
This topic contains 4 replies, has 2 voices, and was last updated by mckots87 2 years, 4 months ago.
- AuthorPosts
- February 5, 2021 at 2:32 am #31461
Hi, is there any way to highlight the found text in the search results as the user types in live view, similar to Algolia or how a browser text search works?. Can you please help with a possible code snippet where I can add a custom color, or css values for this. Thank you so much for any help!
Mike Kotler
February 5, 2021 at 9:31 am #31467Hi,
Sure, there is a built-in feature for that. You can find it here: https://documentation.ajaxsearchpro.com/layout-settings/search-phrase-highlighter
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 5, 2021 at 3:06 pm #31475Thank you but I am using the Elementor Posts widget with a custom Loop template to display results so I believe that is why this option is not working?
https://staging1brand.wpengine.com/attorney-listings/
I really, truly appreciate any help and thank you again.
February 5, 2021 at 3:10 pm #31476Oh I see, that is not possible yet unfortunately. It might not be that complicated to implement, I have added this to the feature requests list. Keep an eye on the upcoming update (within few weeks), I’m 99% sure I can apply the highlighter to the elementor results.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 5, 2021 at 3:16 pm #31477Oh ok. I’ll keep an eye out for that, thank you.
- AuthorPosts
You must be logged in to reply to this topic.