Greetings,
I need to change the color of extra elements bar color for the transparent menu on my homepage. It shows up white which doesn’t work because the text is white. I need to match the other pages which is gold.
Hey asapevictions,
Try adding important to the CSS you already have in your child theme:
#top #header_meta, #top #header_meta nav ul ul li, #top #header_meta nav ul ul a, #top #header_meta nav ul ul {
background-color: #99783f !important;
}
Best regards,
Rikard
Thanks for the code but that changes the color on all pages. I would like the homepage to stay clear on desktop and gold on mobile and tablet. Hope that makes sense.
Hi,
Add the following class to the front of Rikard’s code:
.home
Best regards,
Jordan Shannon
not quite, when add this code it stays the same. I just would like the mobile and tablet to have the gold background. I want the desktop backgournd color to be transparent. With the code provided everything is gold.
Hi,
Thanks for the feedback. Please try this instead:
@media only screen and (min-width: 991px) {
.home #header_meta {
background-color:transparent;
}
}
@media only screen and (max-width: 990px) {
.home #header_meta {
background-color:#99783f;
}
}
Best regards,
Rikard
Added that code. Didnt work at first so I added !important; to the bottom code. It works now. Thanks!
@media only screen and (max-width: 990px) {
.home #header_meta {
background-color:#99783f !important;
}
}
/* Transparent Header Remove Line Style*/
.home .av_header_transparency #header_meta {
border-bottom: none !important;
}
}