Remove link from HTML with CSS

This is a simple work-around to remove actions and links from a link tag without replacing the inner HTML code.

For example it can be useful if you are trying to edit a CMS template like a WordPress or Joomla template. These lines of code will do the work easily:

.the-outer-container a{
 pointer-events: none;
 color: #000000;
 cursor: default;
 text-decoration: none;
}

Be the first to comment

Leave a Reply

Your email address will not be published.


*