Hello. If you look at the page in the private area as an example, i’m looking to change the color of the header to white.
Thank you,
Ryan
Hey accurIT,
Try this css at the bottom of your custom css:
#header.header_color.av_header_transparency #header_main {
background-color: rgba(232, 188, 84, 0.5)!important;
}
.page-id-85 #header_main {
background-color: #fff !important;
}
The idea is that the top part of the code has a stronger value when the page is not scrolled, and the bottom part of the code does when the page is scrolled. Please try to remove your original colored custom code and Please clear any cache plugin and your browser cache.
Best regards,
Mike
Thanks Mike. No luck. No caching in place during dev.
It works until the 767px breakpoint hits.
Hi,
Try this instead:
@media only screen and (max-width: 767px) {
#header.header_color.av_header_transparency #header_main {
background-color: #fff)!important;
}}
@media only screen and (min-width: 768px) {
#header.header_color.av_header_transparency #header_main {
background-color: rgba(232, 188, 84, 0.5)!important;
}
.page-id-85 #header_main {
background-color: #fff !important;
}}
Best regards,
Mike
Thanks for all your help Mike. The following ended up being the fix.
@media only screen and (min-width: 768px) {
.page-id-85 #header.header_color.av_header_transparency #header_main {
background-color: rgba(232, 188, 84, 0.5)!important;
}}
Hi,
I’m glad you were able to get this corrected. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon