This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Highlight text in search results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Highlight text in search results

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #31461
    mckots87mckots87
    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 MarcinkoErnest 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

    #31475
    mckots87mckots87
    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 MarcinkoErnest 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.

    #31477
    mckots87mckots87
    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.