I'm trying to adapt the CSS Spotlight menu so that the spotlight is 'always on' for the link of the currently selected page. So I've amended the HTML to provide for an id selector of "current" as follows:

Whilst the spotlight is now 'always on' for the currently selected tab, the text is dispayed white (as per the rest of the CSS table) as per the rest of the CSS, and not black as per the amended css above (i.e. it's white text under a white spotlight and therefore invisible)

My CSS isn't exactly brilliant - any suggestions please?

02-18-2013, 01:24 PM

Beverleyh

Without seeing the rest of the code, I'd suggest targetting the anchor text specifically - so something like ;

Code:

.spotlightmenu #current a {
color: black;
}

If you need more help, please provide a link to your page and to the spotlight menu demo.