1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to change font-color of username?

Discussion in 'XenForo Questions and Support' started by erich37, Jun 8, 2012.

  1. erich37

    erich37 Well-Known Member

    I would like to highlight the username for all my users at my Forum, by changing the color of the font of the username, e.g. "erich37".

    How to do this?

    Appreciate your help!

    change_username_color.gif
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Add this to your EXTRA.css template:

    Code:
    .navTabs .navTab.account .navLink
    {
    color: red;
    }
    Produces:

    redname.PNG

    Obviously change "red" to whatever color you want.
     
    erich37 likes this.
  3. MagnusB

    MagnusB Well-Known Member

    Code:
    .navTabs .navTab.account .navLink {
    color: #FF0;
    }
    Add that to extra.css, should do the trick. Of course edit the color to your liking, I used yellow as it was easy to see if it stuck.

    EDIT:
    Ninja'd :(
     
    erich37 and Yorick like this.
  4. Chris D

    Chris D XenForo Developer Staff Member

  5. MagnusB

    MagnusB Well-Known Member

    Proper ninja:



    How I roll :rolleyes:
     
  6. erich37

    erich37 Well-Known Member

    thanks a lot guys!

    I am wondering how to keep the default link-color when hovering over the link?
     
  7. MagnusB

    MagnusB Well-Known Member

    Use:
    Code:
    .navTabs .navTab.PopupOpen .navLink {
    color: yellow;
    }
    You need to edit the color to the correct one though
     
    Yorick likes this.

Share This Page