Thu, 2013-08-01 16:01
Hey, I'm using the NewsPro template for Drupal 7.x
I need the taxonomy categories(it's like a main menu) to be each one I click specified with his own color. In the CSS it is possible to change the color of all of them and of the one that is clicked and hoved, but not for ever section it self.
#nav li.active{border-color:#339933;} .green #nav li.active{border-color:#003300;} .red #nav li.active{border-color:#c50c0c;} #nav li.active a{ color:#0184e0; background:#f2f2f2 !important; } .green #nav li.active a{color:#000000;} .red #nav li.active a{color:#c50c0c;} #nav li a{ display:block; text-transform:uppercase; color:#787878; background:#f2f2f2; margin:0 1px 0 -1px; } #nav li a span{ display:block; text-align:center; border:solid #fff; border-width:0 0 1px 1px; padding:17px 0 5px; } #nav li a:hover, #nav li:hover a, #nav li.hover a{ background:#e6e6e6; text-decoration:none;