I have the following link structure for my categories:
<ul>
<li class="current-cat cat-parent">
<a href="#">Parent-Cat</a>
<ul class="children">
<li class="cat-item cat-item-71">
<a href="#">Children-Cat</a>
</li>
</ul>
</li>
</ul>
Now I want only the current-cat
class to change the color of it's a
element:
#outer-section .outer-div ul .current-cat a {
color: red;
}
The problem is, that the children (cat-item cat-item-71
) gets changed, too. How can I prevent that and change only the parent a
of the current-cat
?