Current page indicator

I’m looking for a Javascript workaround that’ll allow me to indicate the current page on the main menu(basically, the menu button for that page will be a different colour to the rest of the menu buttons).

The main menu is in CSS but isn’t bringing up the required image for the “current menu item” indicator automatically and no one knows why.

Here’s one technique, where with specially crafted CSS for your menu, you only need to change the identifier on the <body> element to specify a different current page for your menu.

ID Your Body For Greater CSS Control and Specificity