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;

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.