- Edited
I try to change the Header Link Color but it's not
attempt 1
.Header-primary {
color: #ecf0f1;
}
attempt 2
.Header-controls {
color: #ecf0f1;
}
I try to change the Header Link Color but it's not
.Header-primary {
color: #ecf0f1;
}
.Header-controls {
color: #ecf0f1;
}
mskian Can you provide a screenshot of what you are looking to change ? I think it's the links across the top header bar, but want to be sure before responding.
[deleted] I am using Links by FriendsOfFlarum for header Menu Links - https://discuss.flarum.org/d/18335-friendsofflarum-links
I want to change the Menu link text color
mskian Ahh, I see. In this case, you could use a wildcard like the below - obviously, change the color to suit
li[class^="item-link"] a {
color: #ffffff;
}
mskian Works for me. Can you clear your caches ?
still nope
mskian So the color is not showing ? You could add !important
at the end of the CSS class, although it shouldn't be necessary, and you may also impact any :hover
class
it work's well
#header-primary > ul > li.item-link1 > a {
color: #FFFC00;
}
#header-primary > ul > li.item-link3 > a {
color: #FFFC00;
}
mskian Great ! Odd though, as that is a long-winded version of
li[class^="item-link"] a {
color: #ffffff;
}
mskian Well, "yes", but I didn't need to