Hi, I’d like to change the dropdown menu colour to white with black text. To do so I changed the code underneath. On the place of background-color and color there was ‘var’. I changed it to white. But unfortunately, nothing happens. The background becomes transparent. Does somebody know what I do wrong? Thanks!
Hey, Annewil, the problem is that, actually, this code:
var(--color-text-header)
means that the code is using the function var(variable) to call the variable ‘–color-text-header’, changing ‘var’ to ‘white’ breaks that function. What you have to do is replace it completely, as in: