Hello You can achieve this by using if Condition In you properties of link you have Enable
You can apply a condition as required
I have used this in my application and its working perfectly, and after applying this if you want to make changes to CSS, line On :hover on a link you get a border bottom so you can remove it.

I hope this will help
Thanks