Change background color of every single menu

edited March 2016 in Menu / Mega menu
Hi, i would change the background color of every single item of the menu when you hover on it and when its link is active, i have created a css class for the item of the menu "Cosa fare" and i have add this css code in betheme, but didn't work... when i'm in the "Cosa fare" page the background of item become white instead of the color i have chosen.

.cosafare-nav > a:active > span {
background-color:#003300;}
.cosafare-nav > a:visited > span {
background-color:#003300;}
.cosafare-nav > a:hover > span {
background-color:#003300;}
.cosafare-nav > a:focus > span {
background-color:#003300;}

this is the site: www.visitnaples.eu

Comments

Sign In or Register to comment.