Is there any way to disable a link using CSS?
I have a class called current-page and want links with this class to be disabled so that no action occurs
current-page
I used:
.current-page a:hover { pointer-events: none !important; }
And was not enough; in some browsers it still displayed the link, blinking.
I had to add:
.current-page a { cursor: text !important; }