How can I add a symbol before username?
4 posters
Page 1 of 1
How can I add a symbol before username?
Hello,
How can I add a symbol etc (+,-) before a username in different color via CSS?
Forum Version: PunBB
How can I add a symbol etc (+,-) before a username in different color via CSS?
Forum Version: PunBB
Last edited by Black-Shadow on October 18th 2015, 2:37 pm; edited 1 time in total
Re: How can I add a symbol before username?
Hello @SarkZKalie,
Its not working, I have tried another similar code but its not working too.
Maybe it needs HTML or Javascript.
Its not working, I have tried another similar code but its not working too.
- Code:
span[style="color:#990012"]:before {
content: "+";
}
Maybe it needs HTML or Javascript.
Re: How can I add a symbol before username?
What about this?
- Code:
a span[style="color:#990012"]:before {
content: "+";
font-size: 14px;
}
Re: How can I add a symbol before username?
try this :
First Go to your Panel -> User & Groups -> Modify a group (select a group which you want to add the symbol -> Group Members Color
Copy the Color of the group then insert
First Go to your Panel -> User & Groups -> Modify a group (select a group which you want to add the symbol -> Group Members Color
Copy the Color of the group then insert
- Code:
span[style="color:#groupcolornumber"]:before {
color: #000000;
content: "+";
font-weight: bold;
}
Re: How can I add a symbol before username?
Hello @SocialAcademy,
Ok I have update the code and placed the following CSS code
but its not working.
I have copied the color code from usergroup and paste it into span[style]
Ok I moved the CSS in a different place on stylesheet and now its working.
Thank you very much. The problem has been solved now.
- Code:
span[style="color:#990012"]:before {
color: #FF0000;
content: "+";
font-weight: bold;
}
I have copied the color code from usergroup and paste it into span[style]
Ok I moved the CSS in a different place on stylesheet and now its working.
Thank you very much. The problem has been solved now.
Re: How can I add a symbol before username?
Thanks for the help Social Academy and SarkZKalie .
Topic solved and archived ~ brandon_g
Topic solved and archived ~ brandon_g
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum