css - Select the after pseudo element of the li first child -


i attempting target first list item's pseudo element ":after". of other li's have dropdowns , have little arrow after text. there way target pseudo of pseudo? resort becuase it's wordpress menu , i'm unsure of how add class specific li. far have tried:

#menu-primary-menu>li>a:first-child:after{ //some css } 

thanks in advance advice!

not long after posting figured out. had target first li (li:first-child) , after element of link (a:after) , path required was:

#menu-primary-menu li:first-child a:after 

apologies asking question , answering myself. i'm going leave here in case else stumbles accross.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -