MyAlerts alert color based on number (something similar to NBB)
In this tutorial I'll teach you how to get alerts similar to NBB alerts as in when you have no alerts there is no number, and when you have an alert there is a green number.
For this tutorial you'll need the following plugins:
PHP and Template Conditionals
What we're making:
In your active theme template find MyAlerts -> myalerts_headericon
Replace all the code with the following:
Sorry, but you need at least 25 posts and 5 hours online time to unlock hidden content.
To change the color simply replace #4CC417 with a color of your choosing, though you must use hexadecimal formatting. (Just look up HTML colors on Google)
To make it exactly same like NBB you can play with some basic HTML/CSS/JS