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
4 posters

    Changing username color in the CSS Stylesheet

    avatar
    MtnDew
    New Member


    Posts : 3
    Reputation : 0
    Language : English

    Solved Changing username color in the CSS Stylesheet

    Post by MtnDew January 21st 2013, 12:13 am

    Hello, I wanted to change the color of my username in the CSS so I could have a color without being in a group. One problem with this, is that I can't be in any groups or it will over-ride the color the CSS is telling it to be. So if there is a way around that, help me out.

    But the main reason I'm asking for help is I have it working, I took my user out of all groups (the true admin group is hidden with no color) and made my name green in the CSS. It works for the forum homepage and the chatbox but it doesn't work for my name inside of a topic, or the name in front of my text in the chatbox.


    Here is what I have:

    name strong a[href="/u35"]{
    color: #05EB0C !important;
    }
    #chatbox_members a[href="/u35"]{
    color: #05EB0C !important;
    }
    .gensmall a[href="/u35"]{
    color: #05EB0C !important;
    }


    Thanks in advanced for some help.
    SLGray
    SLGray
    Administrator
    Administrator


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

    Solved Re: Changing username color in the CSS Stylesheet

    Post by SLGray January 21st 2013, 12:18 am

    Try just this:
    Code:
    a[href="/u35"]{
    color: #05EB0C !important;
    }
    Remove the ones you added.


    Sorry this code only works for the legend.


    Last edited by SLGray on January 21st 2013, 12:23 am; edited 1 time in total



    Changing username color in the CSS Stylesheet Slgray10

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


    Male Posts : 706
    Reputation : 107
    Language : English,HTML, CSS,Photoshop,Javascript!
    Location : Here on Forumotion!

    Solved Re: Changing username color in the CSS Stylesheet

    Post by Akkii January 21st 2013, 12:19 am

    Don't think its possible.
    I already tried alot of codes,and nothing.
    avatar
    MtnDew
    New Member


    Posts : 3
    Reputation : 0
    Language : English

    Solved Re: Changing username color in the CSS Stylesheet

    Post by MtnDew January 21st 2013, 5:11 am

    Bump. If anyone knows anything, fill me in.
    avatar
    MtnDew
    New Member


    Posts : 3
    Reputation : 0
    Language : English

    Solved Re: Changing username color in the CSS Stylesheet

    Post by MtnDew January 21st 2013, 5:15 am

    Never mind, I figured it out, thanks anyways guy. I got it in all parts of the forum!
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Changing username color in the CSS Stylesheet

    Post by Sanket January 21st 2013, 5:17 am

    SLGray wrote:Try just this:
    Code:
    a[href="/u35"]{
    color: #05EB0C !important;
    }
    Remove the ones you added.

    Sorry this code only works for the legend.
    SLGray, that code would work everywhere.
    SLGray
    SLGray
    Administrator
    Administrator


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

    Solved Re: Changing username color in the CSS Stylesheet

    Post by SLGray January 21st 2013, 5:27 am

    Thanks for correcting me, Sanket.

    MtnDew:
    Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!
    Topic Solved & Locked



    Changing username color in the CSS Stylesheet Slgray10

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

      Current date/time is September 22nd 2024, 8:36 am