This topic has 10 replies, 4 voices, and was last updated 10 years, 1 months ago ago by Eva Kemp
Hello, I am having difficulty in changing the background color of the fixed navigation background.
I have it set on header 4 with a black background and a light color scheme. When I scroll down, the background turns to white. I’d like it to stay black but unable to do it.
Could you please let me know where I should tweak?
Katya
Hello,
Please provide us with link to the page and wp-admin access in Private Content.
Regards,
Robert Hall.
Hi Robert,
Thank you for your reply.
Since my header is black, I can’t see my menu links as they are black too (I’d like them white with grey hover). and when I scroll down my header turns white with black font. I’d like it to follow the same look.
Thank you for your help.
Hello,
Add this code into custom.css file and after that clear cache.
.header-type-4 .main-nav .menu > li > a,
.fixed-header .menu > li > a,
.header-type-4 .main-nav .menu > li.current-menu-item > a {
color: #fff;
}
.header-type-4 .main-nav .menu > li > a:hover,
.fixed-header .menu > li > a:hover{
color:grey;
}
.fixed-header {
color:#000;
}
Regards,
Robert Hall.
FAB! Thank you 🙂
Hello,
You’re welcome.
Regards,
Eva Kemp.
Hello, I am having this exact same problem (fixed header with a white background) and I used the link above but it did not work for me. I am using Royal WordPress theme (Creative) and I am using the 3rd header. I need the background for the fixed header to be black when I scroll down.
Thank you.
Yes I have.
Thanks again.
Hello @McFechi,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘fixed navigation background’' has been successfully resolved, and the topic is now closed for further responses