Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search term highlighting, included categories only, surrounding search term text › Reply To: Search term highlighting, included categories only, surrounding search term text
My apologies for the late response, this weekend yielded far more emails I was prepared for.
Context finding and highlight
The highlighting issue is most likely related to the context depth, which is set to 15000 characters by default. It's a lot, but shortcode tags, empty spaces, HTML tags and other things might be also calculated if present, especially if there are texts are a few pages longer. I see you have set it to 35000, if that doesn't do the trick, you can still increase it. Just in one of the recent releases I improved the context finder function, so I have safely tested the function on an over 1 million characters long text, and it was working without major performance issues.
Vertical Height calculation and changes
The height is not an exact value, it's calculated based on items count on vieport, which is set to 4 by default. You can of course change that on the Theme Options -> Vertical results panel: https://i.imgur.com/rvVREf3.png
If you want a more exact height, it is also possible to change each items height to a fixed value. However the result of that usually is that the context text is cut off because of it. It's also changeable on the same panel: https://i.imgur.com/eXhrDWJ.png
Can you please give me an example here? I will cross check it with the configuration. Thank you!
If you like my products, don't forget to rate them on codecanyon :)