I've been attempting to format a text menu in my CSS so that the link matches the current URL, but it doesn't appear to be working. Here's the code snippet:
#pages.tabs ul li a[href$=location]{color:blue !important;}
, where #pages.tabs ul li
represents the menu list containing the links. I assumed that the location
parameter would hold the current URL in CSS. However, I'm not sure if this can actually be accomplished with CSS alone.
Thank you in advance for any help or advice!