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.
The forum of the forums
5 posters

    prefix to usernames

    avatar
    EpicDroid
    New Member


    Posts : 10
    Reputation : 1
    Language : English

    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
    Ultron's Vision
    Ultron's Vision
    Forumember


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

    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
    avatar
    EpicDroid
    New Member


    Posts : 10
    Reputation : 1
    Language : English

    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
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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;
    }
    Jophy
    Jophy
    ForumGuru


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

    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
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    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.

      Current date/time is September 23rd 2024, 1:19 am