Actually, you probably inserted only first code I gave you so that the head became transparent, but because you don’t have a content below the header it seems to look as white.
for that reason, you need to add a second code, so your content goes up below your header.
Anyway…
Please, copy/paste next code FOR A TRANSPARENT HEADER, in Customizing->General->Additional CSS: