How to hide "All categories" heading
todosteam
New
Hi!
I'm trying to hide the line that says "All categories"
I've writed
.ItemHeading {
display:none;
}
In the custom CSS, but it doesn't work. Any idea? Thanks!
0
Comments
Sorry for the double post. I can't delete it.
.Headings divhas a higher precedence. That is why tools like firebug are invaluable.you could use
.CategoryHeadings div.ItemHeadingor just hide
.CategoryHeadingsbasically
.Parent .Childhas higher precedence than just.Selectorbecuase it is more specific. It will apply the more specific rule over the less specific, the ensure the specificity is met.grep is your friend.
incidentally if you have
.Parent > .Child{ background-color:red; } .Parent .Child{ background-color:blue; }It will actually be blue. You can find this out experimentally. Even though
>mean direct descendent, they are basically applied as part of the cascade, identically but one after the other ..Parent > div.Child{ background-color:red; } .Parent .Child{ background-color:blue; }and
.Parent .Child{ background-color:blue; } .Parent > .Child{ background-color:red; }will be red.
grep is your friend.
the official explanation is they are both selecting
.Childso it is the same precedence. > is just a way to select .Child that are direct descendants only.grep is your friend.