Add a class to your link, for example: “not-active”.
Then, add the following code to your CSS:
.not-active { /* <- modify the class with the same you previously added */ pointer-events: none; cursor: default; }
Source: http://stackoverflow.com/questions/2091168/disable-link-using-css