Change the background color of selected menu item

Hello !

I use this theme Sidebar 09

and, as the title says, i want to highlight (changing menu item’s background color) the menu item of which I was clicked.

i have tried with #sidebar ul li a:active {background: #e6e6e6;} and with #sidebar ul li a:focus {background: #e6e6e6;}, but it didn’t worked.

Can someone help me, please?

Thank you !

Hi there

Try this code instead:

#sidebar ul li.active {
background: #f00;
}