html - Why can't I target this link with a class -
unlink similar question
why can't target links in class
i cannot seem target link class next link class.
the html.
<div class="tribe-events-cal-links"> <a class="tribe-events-gcal tribe-events-button" href="#" title="add google calendar">+ google calendar</a> <a class="tribe-events-ical tribe-events-button" href="http://localhost/bcu/event/test/?ical=1&tribe_display=">+ ical import</a> </div> i able display: none; cannot seem target specific link.
i have tried.
tribe-events-ical >a { display: none; } and varients believe doing wrong , cannot seem find example oh how it.
thank you.
you need review css selectors. class defined leading . , element should precede it.
so css should be:
a.tribe-events-ical { display: none; }
Comments
Post a Comment