Changing the colour of new message alert

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Scam Warning
Locked
User avatar
oxfordsi
Registered User
Posts: 266
Joined: Sun Jan 06, 2008 10:06 pm
Location: Witney, Oxfordshire, UK

Changing the colour of new message alert

Post by oxfordsi »

Hello peeps,

I once found a style edit which changed the New Message count colour from the default grey when there was no new messages to red (with the number of new messages) when there was a new message(s) in the users inbox.

Clearly this is a CSS issue but i'm struggling to find the code. Anyone have any ideas?

Simon
Last edited by Josh on Mon Oct 12, 2009 1:00 pm, edited 1 time in total.
Reason: Topic icon changed
User avatar
RMcGirr83
Former Team Member
Posts: 21506
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Changing the colour of new message alert

Post by RMcGirr83 »

You can change it in the language/xxx/common.php file

Code: Select all

	'NEW_PM'					=> '<strong>%d</strong> new message',
	'NEW_PMS'					=> '<strong>%d</strong> new messages',
so to make it red change it to this, eg

Code: Select all

	'NEW_PM'					=> '<strong><span style="color:red;">%d</span></strong> new message',
	'NEW_PMS'					=> '<strong><span style="color:red;">%d</span></strong> new messages',
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
User avatar
oxfordsi
Registered User
Posts: 266
Joined: Sun Jan 06, 2008 10:06 pm
Location: Witney, Oxfordshire, UK

Re: Changing the colour of new message alert

Post by oxfordsi »

Brilliant, thank you!
skarbanan
Registered User
Posts: 158
Joined: Mon Dec 01, 2008 9:11 am
Contact:

Re: Changing the colour of new message alert

Post by skarbanan »

thanks , this is great :D
Locked

Return to “[3.0.x] Styles Support & Discussion”