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.

Help With Chatbox CSS

View previous topic View next topic Go down

Help With Chatbox CSS

Post by FrOsTyXi on May 12th 2015, 3:58 am

Hello i am displaying TM with this code
Code:
a[href="/u1"] span strong:after{font-size:10px;content:"";color:red}

It's only for my name as you can see in the code but how do i make it so it shows in the chatbox?

Thanks in advance!

Regards
FrOsTyXi

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Help With Chatbox CSS

Post by Sir. Mayo on May 12th 2015, 4:11 am

Could you post a test account, that can view the chat box?


Last edited by Sir. Mayo on May 12th 2015, 4:12 am; edited 1 time in total (Reason for editing : wording)

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Re: Help With Chatbox CSS

Post by FrOsTyXi on May 12th 2015, 4:32 am

@Sir. Mayo sent *)

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Help With Chatbox CSS

Post by Sir. Mayo on May 12th 2015, 5:02 am

Go to you ACP and add this to the end of your user name

Code:
™




Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Re: Help With Chatbox CSS

Post by FrOsTyXi on May 12th 2015, 5:10 am

Ok i shortened the code just for me like this the 050505 is not getting the TM also made a few adjustments to it aswell here that is
Code:
#chatbox_members span[style="color:#000000"]::after,span.user[style="color:#000000"]::after, span.user[style="color:#000000"]::after {
    position: relative;
    top: 3px;
  content:  "";
  fornt-wieght:10px;
  color:red;
}

Now after adding the code the TM is in front of the : in the chat like this image shows


Can we fix this?

Thank you for the help!

Regards
FrOsTyXi

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Help With Chatbox CSS

Post by Sir. Mayo on May 12th 2015, 5:12 am

Check my post about your user name, by adding ™ it should add TM to the end for your name.
if you do that make sure to remove
Code:
a[href="/u1"] span strong:after{font-size:10px;content:"";color:red}
from your css.

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Re: Help With Chatbox CSS

Post by FrOsTyXi on May 12th 2015, 5:41 am

Thank you for your help and kind words, still on the fence if i want to add it to my name but it's something to think about.

Thank you again!
FrOsTyXi

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Re: Help With Chatbox CSS

Post by Sir. Mayo on May 12th 2015, 5:42 am

You are very welcome man, glad i could help.

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Re: Help With Chatbox CSS

Post by JScript on May 12th 2015, 5:46 pm

@FrOsTyXi
Or try this:
Code:

#chatbox .user-msg span[data-user="1"]::after {
  color: red;
  content: "";
  font-family: Verdana;
  font-size: 10px;
}

Result:


JS

JScript
Forumember

Male Posts : 741
Reputation : 168
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Re: Help With Chatbox CSS

Post by FrOsTyXi on May 12th 2015, 6:00 pm

Thank you @JScript that worked perfect!

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

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