Help With Chatbox CSS

Go down

Help With Chatbox CSS

Post by FrOsTyXi on Mon May 11, 2015 8:58 pm

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
avatar
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 Mon May 11, 2015 9:11 pm

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


Last edited by Sir. Mayo on Mon May 11, 2015 9:12 pm; edited 1 time in total (Reason for editing : wording)
avatar
Sir. Mayo
Forumember

Male Posts : 980
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Re: Help With Chatbox CSS

Post by FrOsTyXi on Mon May 11, 2015 9:32 pm

@Sir. Mayo sent *)
avatar
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 Mon May 11, 2015 10:02 pm

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

Code:
™



avatar
Sir. Mayo
Forumember

Male Posts : 980
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Re: Help With Chatbox CSS

Post by FrOsTyXi on Mon May 11, 2015 10:10 pm

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
avatar
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 Mon May 11, 2015 10:12 pm

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.
avatar
Sir. Mayo
Forumember

Male Posts : 980
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Re: Help With Chatbox CSS

Post by FrOsTyXi on Mon May 11, 2015 10:41 pm

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
avatar
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 Mon May 11, 2015 10:42 pm

You are very welcome man, glad i could help.
avatar
Sir. Mayo
Forumember

Male Posts : 980
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Re: Help With Chatbox CSS

Post by JScript on Tue May 12, 2015 10:46 am

@FrOsTyXi
Or try this:
Code:

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

Result:


JS
avatar
JScript
Forumember

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

http://jscript.forumeiros.com/

Back to top Go down

Re: Help With Chatbox CSS

Post by FrOsTyXi on Tue May 12, 2015 11:00 am

Thank you @JScript that worked perfect!
avatar
FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

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

Back to top Go down

Back to top


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