Menu transparence

Hi. I would like the menu to be transparent before I scroll up. In this theme it is “White” until you scroll and then it is transparent (with the following code… I tried 2 different ones. First was probably correct but incomplete).

.site-header {
background-color: rgba(0,0,0,0.3);

#masthead {
background-color: rgba(255, 255, 255, 0.9);


Your menu is fixed to top, so you can’t change it’s color when you scroll up or initial, because it’s the same menu, it’s always transparent ( for me it seems to be rgba(255, 255, 255, 0.4) ), so you can’t change the background of the menu separately, if you change the color of the menu it will be that color initial and also when you scroll down.

Best Regards,