Depends where you need that and what you exactly want as result. You can hardcode something into the child theme template or use some CSS trick like this one.
Or maybe you need something like this ?
That said, be default, when you mention a user within a blog post or any update, a class name is automatically added: “bp-suggestions-mention”.
When you mention a user in a bbPress topic, there is no class name. But that’s lazy bbPress mentioning, not BuddyPress. If so, ask for this on their support.
Hi @danbp,
Thanks for your reply. Sorry for didn’t mention that yes I want this in a bbpress topic is there a way to do this?
Thanks,
@danbp I actually got it, the function is in this file.
bbpress\includes\common\formatting.php
Thanks for your time, you can close the topic.