The webpage lists a whole bunch of events and I want to see only certain ones, and hide the rest. I'm using a CSS selector because the rule is too broad otherwise.
Each events is a <div> with a class="event" (there are several other ways of defining the div, based on contents, if needed)
The ones I want to see have, two levels down, a span with class="unique"
Here is what I came up with:
Code: Select all
domain.com##.event
domain.com#@#.event:-abp-has(> div > span[class="unique"])
How can I correct this so that every instance of <div class="event"> is hidden except for the ones containing a <span class="unique">?