Change your CSS selector to this ...
#page-navigation ul li .sub-menu li:first-child a
(i.e. put the :first-child pseudo :first-child on li , not a ).
Take a look at jsfiddle.net
The old selector did not work, because a always the first descendant of li elements.
But in the new selector, li is the first child of ul elements.
alex
source share