I’m sure you mean to hide the links so they don’t display on the site: you can’t really completely remove HTML elements with CSS.
Try the following CSS:
.tags-links {
display: none;
}
Hi, no, I mean just the links
If I understand you correctly, you want to keep the tags, but remove the hyperlinks so that they become like normal text and not clickable.
As mentioned before, you can’t really remove the anchor tags with CSS. But you can use CSS to make the links unclickable, and optionally, change the text color.
Try the following CSS instead:
.tags-links a {
pointer-events: none;
color: #404040;
}
If you truly want to remove the hyperlink from the HTML source, you’ll have to make the change in the appropriate template file in your custom theme.
it works. Is it possible to put buttons as background for each tag? by css I mean, like in the theme Neve