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

How do i center usernames?

Discussion in 'Troubleshooting and Problems' started by TheGoldenChild, Sep 29, 2012.

  1. How can i center the username that is shown here (username = test) ?

  2. I've tried to add a center tag in the username CSS for the moderator group, but it doesn't work.

  3. ArnyVee

    ArnyVee Well-Known Member

    Browse to :

    Appearance -> Style Properties -> Message Layout -> User Text Block

    Then add this in miscellanous:

    text-align: center;

    Add this to EXTRA.css:

    .messageUserBlock h3.userText {
    text-align: center;
  4. Shelley

    Shelley Well-Known Member

    Try margin: 5px auto; ? << #blondemoment

    edit: Ninj'ad by arny :D
    TheGoldenChild likes this.
  5. Thank you :D
    Shelley and ArnyVee like this.

    ALMUSA Member

    I tried to add that but it didn't work. Any idea what could have gone wrong?

    The username is neither to the left or right nor in the center! (n)

    Can someone help please.

    here is a screenshot of what it looks like at the moment.

  7. TJA

    TJA Well-Known Member

    Try in your EXTRA.css template
    .messageUserBlock a.username {text-align: center !important;}
    jackdon and Brandon Sheley like this.

    ALMUSA Member

    Not working:(
  9. Russ

    Russ Well-Known Member

    I think your offline ribbon is probably effecting the positioning of it(possibly), may need a link to take a look.
    ALMUSA likes this.
  10. ALMUSA

    ALMUSA Member

    Oops, you are right. That ribbon add one was the reason. Now the issue has been solved.

    Thanks a bunch

Share This Page