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:
MyAlerts
PHP and Template Conditionals
What we're making:
In your active theme template find MyAlerts -> myalerts_headericon
Replace all the code with the following:
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
:zzz:
MyBB Tutorials
MyAlerts color based!
Submitted by AAA, 13-02-2016, 11:05 PM, Thread ID: 18239
Thread Closed
RE: MyAlerts color based! 02-05-2016, 11:55 PM #2 CONTACT:
YAHOO: Bebe.MDFK
STEAM: yo_yonutzy2010
02-05-2016, 11:55 PM
#2 YAHOO: Bebe.MDFK
STEAM: yo_yonutzy2010
RE: MyAlerts color based! 02-08-2016, 04:18 AM #3
02-08-2016, 04:18 AM
#3 RE: MyAlerts color based! 07-08-2016, 03:39 PM #4 I will be your website dev - PM
Upgraded by Deleted_44 Write if you need some link
Never argue with an idiot. They will only bring you down to their level and beat you with experience
07-08-2016, 03:39 PM
#4 I will be your website dev - PM
Upgraded by Deleted_44
Write if you need some link
Never argue with an idiot. They will only bring you down to their level and beat you with experience