Skip to content

Edoardo Vignati ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป

› Always looking for awesome things

Menu
  • Studies
  • Publications
  • Skills
  • Portfolio
  • Projects
  • Career
  • Blog
  • ๐Ÿ‡ฎ๐Ÿ‡น Servizi
Menu

Remove link from HTML with CSS

Posted on 06/02/201927/05/2020 by Edoardo

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;
}

Buy Me A Coffee


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

Leave a Reply Cancel 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.

© 2025 Edoardo Vignati ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป | Powered by Minimalist Blog WordPress Theme