Looking for custom code to make transparent hear go to white when fixed in Customize with code Posted November 6, 2023 I have a transparent header. I added the code: .Header { position: fixed !important; z-index: 1000; width: 100%; } to make it fixed. I'd like only the fixed header to have a white background. Is there code I can add to achieve this? I added background: white, but it changed my transparent header to white - only want the sticky header white.
Looking for custom code to make transparent hear go to white when fixed
in Customize with code
Posted
I have a transparent header. I added the code:
.Header {
position: fixed !important;
z-index: 1000;
width: 100%;
}
to make it fixed. I'd like only the fixed header to have a white background. Is there code I can add to achieve this? I added background: white, but it changed my transparent header to white - only want the sticky header white.