Hi
I set up a sticky header in pro that goes from transparent to rgba(0,0,0,0.8) on scroll (called Home Header).
I placed the CSS code in Global CSS which I’ve used on other sites successfully:
.x-bar.x-bar-absolute{
background-color: rgba(0, 0, 0, 0) !important;
transition: background 0.4s ease;
}.x-bar.x-bar-fixed{
background-color: rgba(0, 0, 0, 0.8) !important;
}
However, I then decided I only wanted this transparency on the home page so created a second header for the rest of the site (called Main Header). I removed the code from the Global CSS to put in the Header CSS so it didn’t affect the second header but then found that the Home Header still changes colour on scroll even though the CSS code is currently completely removed.
I’ve inspected the code for the page in a browser and the CSS formatting is still being applied and I’m banging my head against the wall as to where the code could be stored.
Could this be a bug and it’s not erased the code from some style sheet after I deleted it?