AgainMe AgainMe - 10 days ago 6
CSS Question

Cannot hide link

I'm trying to hide the text of this content:

<div class="avrow"><a href="http://www.altervista.org" class="avlink disclaimer">Powered by Altervista Mailing List</a></div>


I tried:

.avrow > .avlink disclaimer > a
{
visibility: hidden;
}


not seems to working anyway, how can I fix this?

Answer

Your a tag has the class .avlink and .disclaimer. So the order of your CSS is wrong and if you have 2 classes on one element, you will need to append both class names.

.avrow > a.avlink.disclaimer {
  display:none;
 }
<div class="avrow"><a href="http://www.altervista.org" class="avlink disclaimer">Powered by Altervista Mailing List</a></div>