I have successfully implemented a right arrow pointer on my navigation list. When clicking on these navigation links, they open a sub-navigation list. However, I am trying to make the arrow change to point downwards when the link is visited, but so far without success. Below is my current code that displays a right arrow. Any suggestions on how to achieve the onclick change?
.sidebar-category li > a:before {
color: #888;
content: '► ';
}
.sidebar-category li > a:hover:before {
color: #444;
content: '► ';
}
.sidebar-category li > a:only-child:before {
content: '';
}