Menu behavior questions

Ok, new problem.
Now if I have background:JS{{... script and it works fine.
But when I try to put
.item:nth-child(1) {background: #116649; font-size:200%; }
right after and it cancels the backround script.

I’m basically trying to have each menu item to have a different background much like in this topic, and when I select a menu item, the menu widget’s background changes to the color of the item I selected.

Right now it seems I can have it either or. But not have the two functions together.

Is this possible?

Thanks!