The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

prefix to usernames

5 posters

Go down

Solved prefix to usernames

Post by EpicDroid May 20th 2013, 5:29 am

Yea, I got it solved but now my avatar and my pm button both have the prefix. How do I make it so its just my username?


Last edited by EpicDroid on May 21st 2013, 11:40 am; edited 2 times in total
avatar
EpicDroid
New Member

Posts : 10
Reputation : 1
Language : English

Back to top Go down

Solved Re: prefix to usernames

Post by Ultron's Vision May 20th 2013, 12:49 pm

Right...

Change the code I gave you to this.

Code:
a[href="/u1"] span:before {
content: "[ADMIN] ";
}

That should work fine Wink
Ultron's Vision
Ultron's Vision
Forumember

Male Posts : 631
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Solved Re: prefix to usernames

Post by EpicDroid May 21st 2013, 2:37 am

Ultron's Vision wrote:Right...

Change the code I gave you to this.

Code:
a[href="/u1"] span:before {
content: "[ADMIN] ";
}

That should work fine Wink
Ok, thanks once again. Also with my username it's automatically bolded because of the usergroup, how do i make it normal? Normal = Normal Bold = Bold
avatar
EpicDroid
New Member

Posts : 10
Reputation : 1
Language : English

Back to top Go down

Solved Re: prefix to usernames

Post by Ange Tuteur May 21st 2013, 4:47 am

You can modify the weight of your username by adding this to your CSS.

Code:
a[href="/u1"], a[href="/u1"] span, a[href="/u1"] span strong {
    font-weight:normal;
}

Unless of course you want to modify the content before your username so its bold along with your username, if you're in a group.

Code:
a[href="/u1"] span:before {
content: "[ADMIN] ";
font-weight:bold;
}
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: prefix to usernames

Post by Jophy May 21st 2013, 7:36 am

Hello,

Is you problem solved? You can let us know by editing your topic using the edit button prefix to usernames Editer10 and by clicking the solved icon prefix to usernames Solved10 then send. Wink

Thank you Smile
Jophy
Jophy
ForumGuru

Male Posts : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved Re: prefix to usernames

Post by SLGray May 21st 2013, 8:46 pm

Topic Solved & Locked


prefix to usernames Slgray10

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

Male Posts : 51408
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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