The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

the new PM color

View previous topic View next topic Go down

Solved the new PM color

Post by Michael_vx on October 29th 2014, 4:16 am

when i get a new message here on forum of forumotion the text you have 1 new message is changed to yellow i would like to ask for how to make it like that


Last edited by Michael_vx on October 29th 2014, 1:14 pm; edited 1 time in total (Reason for editing : solved thanks so much)

Michael_vx
Forumember

Male Posts : 655
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: the new PM color

Post by Mohamed Nsr on October 29th 2014, 4:31 am

hello
you can use this code
Code:
ul.navlinks span.new-message{-moz-transform:rotate(-4deg);-ms-transform:rotate(-4deg);-o-transform:rotate(-4deg);-webkit-transform:rotate(-4deg);background:url(http://illiweb.com/fa/email.gif) no-repeat scroll right top transparent;color:#FC0;padding-right:2em;transform:rotate(-4deg)}

Go to Admin Panel >> Display >> Pictures & Colors >> Colors >> CSS Stylesheet

Good luck :rose:

Mohamed Nsr
Forumember

Male Posts : 50
Reputation : 6
Language : Arabic & English & french
Location : ahlamontada

Back to top Go down

Solved Re: the new PM color

Post by _Twisted_Mods_ on October 29th 2014, 4:40 am

Acp >> Display >> Pictures & Colors >> Colors >> CSS Stylesheet

#i_icon_mini_new_message{color:yellow!important;}

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: the new PM color

Post by SLGray on October 29th 2014, 5:31 am

Is your forum version phpBB 2 or 3?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: the new PM color

Post by Ange Tuteur on October 29th 2014, 6:07 am

Hello Michael_vx,

You're using phpbb2, correct ? As far as I know, the new message doesn't have a class like phpbb3. You can of course add one with JavaScript.

Go to Administration Panel > Modules > JavaScript codes management > Create a new script

Title : New message class
Placement : In all the pages
Paste the code below and submit :
Code:
$(function() {
 var pm = document.getElementById('i_icon_mini_new_message');
 if (pm) pm.parentNode.className += ' new-message';
});

Then you can style it with CSS :
Display > Colors > CSS stylesheet
Code:
.new-message {
 color:#F85 !important;
 font-weight:bold;
}

If some properties don't take effect, try adding !important and it should override their default values.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: the new PM color

Post by Michael_vx on October 29th 2014, 1:04 pm

@Ange Tuteur wrote:Hello Michael_vx,

You're using phpbb2, correct ? As far as I know, the new message doesn't have a class like phpbb3. You can of course add one with JavaScript.

Go to Administration Panel > Modules > JavaScript codes management > Create a new script

Title : New message class
Placement : In all the pages
Paste the code below and submit :
Code:
$(function() {
 var pm = document.getElementById('i_icon_mini_new_message');
 if (pm) pm.parentNode.className += ' new-message';
});

Then you can style it with CSS :
Display > Colors > CSS stylesheet
Code:
.new-message {
 color:#F85 !important;
 font-weight:bold;
}

If some properties don't take effect, try adding !important and it should override their default values.
yes you did not forget my forum Very Happy it is phpbb2
thanks
and sorry for delay i was lost on some new coding systems Very Happy
solved

Michael_vx
Forumember

Male Posts : 655
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: the new PM color

Post by SLGray on October 29th 2014, 5:12 pm

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum