I'm wondering is there a way to access to parent:before of a element with css or jQuery or..? I should make :before of li display: none if a has TopNavActive class, in this code I should hide before if a has TopNavActive Class.
<li>::before
<a class="TopNavActive" href="/Cat14/14.html">
Mobile
</a>
</li>