I used the code to freeze the header of my website.
In the first instance, the header must be transparent and as soon as you scroll, the header turns white. This works in preview mode, but not in the live site. Can someone explain to me step by step what I did wrong?
In the live site it stays transparant.
This is the code I used: