A while back I got some code from support here (pasted below) that enabled the Slider Revolution hero image to go all the way to the top of the page, and have the header be transparent so the logo and menu would appear over the image. Worked great on that site. In trying to do it on another site, it is working for the most part, but when I scroll down I want the background color of the header to change. Previously it was: background-color: rgba(38,38,38,0.95) !important; But now I want to change it to something like rgba(248,248,248,0.75). But when I adjust the rgba numbers, the color and opacity stays the same on the site (a slightly opaque black).
I have cleared the browser cache, the style cache within the theme and the website cache. Tried looking at it in other browsers, and no change. I even went back to the other website where I originally used this CSS, changed the background color there and it worked fine, the color of the header changed. But this site, with the same code and settings, won’t change. I even deleted the entire CSS, saved it, logged back out, then back in and re pasted the code, and still same issue. The header remains a slightly opaque black. I want to see what a light grey or white looks like.
The page is located at cityrockpartners.com/home
I have changed the background color of the header (when you scroll down) to: rgba(248,248,248,0.75) This is a light grey. When you visit the site, it will be black when scrolling down.
Here’s the code (with the original color background, that now I want to change):
@media (min-width: 980px) {
.x-logobar {display: none;}
}
/hide the logo from the mobile menu/
@media (max-width: 979px) {
.x-nav .menu-item-41 {display: none;}
}
.masthead.masthead-stacked {
position: absolute;
left: 0;
right: 0;
top: 0;
}
.x-navbar {
border-bottom: 0;
box-shadow: none;
}
.x-nav-trans {
background-color: rgba(38,38,38,0.95) !important;
}