Highlight text in search results

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 mckots87 1 year, 10 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #31461
    mckots87
    mckots87
    Participant

    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

    #31467
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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 :)


    #31475
    mckots87
    mckots87
    Participant

    Thank 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.

    #31476
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Oh 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 :)


    #31477
    mckots87
    mckots87
    Participant

    Oh ok. I’ll keep an eye out for that, thank you.

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

You must be logged in to reply to this topic.