Changing background menu without changing drop down background.

I am trying to change the background color of my menu to be transparent, while keeping the black background color of my drop down menus. I have tried to add some code, but I am new to JavaScript.