Hey Bas,
This color should be pulling from your color palette. Or you can target it specifically with this css:
.collapse-sub-navigation ul.menu li a:hover {
color: #fff;
}
Hope that helps!
Best,
Hannah
Thread Starter
bvo
(@bvo)
Yes! Thank you! I tried many things, but couldnt figure ouy.
Bas
Thread Starter
bvo
(@bvo)
Hannah, when I put this code in customizer, extra css, it works, but when I put it in style.css in my child theme, it doesn’t. Why?
Hey Bas,
That is because of CSS Specificity. See here:
https://www.smashingmagazine.com/2007/07/css-specificity-things-you-should-know/
Generally, CSS hierarchy is main themes > child theme > customizer settings > customizer CSS. Meaning customizer CSS will override the customizer settings but a child theme will not.
Hope that’s helpful!
Best,
Hannah
Thread Starter
bvo
(@bvo)
Hi Hannah,
Thanks, I’ll read that. I understand that there’s a order in css.
I use a child theme. I add the code in the costomizer in the child theme and it works, but adding it in de style.css in the child theme doesnt work. I don’t understand this, when I look at the order you mention.
But, it works, I’ll look at the link you provide.
Thanks!
Regards,
Bas