PenkethBoy 2063 Posted March 28, 2020 Share Posted March 28, 2020 Trying (and failing) to change the favourite icon (heart) colour when its active - tried targeting the ratingbutton-icon-withrating but must be doing something wrong happy with it being white when not active Anybody got some css to do this please Thanks [beta server] Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted March 28, 2020 Share Posted March 28, 2020 The conflict of a element that is already "!important". So something like this to become more important. /*Change Active Favorite icon color*/ i.ratingbutton-icon-withrating { color: blue!important; } Link to comment Share on other sites More sharing options...
rechigo 293 Posted March 28, 2020 Share Posted March 28, 2020 (edited) If you're talking about the color of the button on the media page, this will do the trick .md-icon.detailButton-icon.ratingbutton-icon-withrating { color: green !important; } If you're talking abou tthe icon on the hovercard, this will do the tirkc .md-icon.cardOverlayButtonIcon.cardOverlayButtonIcon-hover.ratingbutton-icon-withrating { color: green !important; } I'm guessing you forgot the !important (ooops looks like happy2play beat me) Working as of 4.5.0.1 beta Edited March 28, 2020 by rechigo 1 Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted March 28, 2020 Author Share Posted March 28, 2020 thanks guys - keep forgetting about important! Link to comment Share on other sites More sharing options...
rechigo 293 Posted March 29, 2020 Share Posted March 29, 2020 thanks guys - keep forgetting about important! I try to always put it on everything regardless if I need it or not (saves time) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now