Hello! I am trying to figure out how to make a link on my table of contents widget (on the left sidebar), to become black when i click it and stay that way when i am on corresponding section of the link…
I tried the pseudo-class (active) on the link of that element’s class but didnt stick..
Is what i am asking for, a css thing? Or maybe javascript?
However, something seems to be removing focus once the anchor reaches its destination. It’s likely something built into the TOC javascript, unfortunately.