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

Admin Background in post

Discussion in 'Styling and Customization Questions' started by Lexy, Mar 24, 2014.

  1. Lexy

    Lexy Active Member

    Hi any tutorial how to change admin and moderators background inside post??
     
  2. DivokyMuz

    DivokyMuz Member

  3. Lexy

    Lexy Active Member

  4. Brogan

    Brogan XenForo Moderator Staff Member

    Add to EXTRA.css:
    Code:
    .message.staff .messageContent {
    background-color: orange;
    }
    Style to suit.
     
  5. Lexy

    Lexy Active Member

    ok thank it is possible to add separate color to moderators and admin
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    You can do that by editing the template and using conditional statements.
     
  7. Lexy

    Lexy Active Member

    i am nob for that, any tutorial how to do it or code to put it inside template.Thanks!!
     
  8. Lexy

    Lexy Active Member

    except orange me i use it this code #grw67737;
     
  9. Amaury

    Amaury Well-Known Member

    Those are too many characters. Hex codes should only have six characters.
     
  10. Lexy

    Lexy Active Member

    yes i no that, just example, any tutorial how to set diferent color for admin and moderator
     
  11. Amaury

    Amaury Well-Known Member

    In the user groups, input the colors you want.
     
  12. Lexy

    Lexy Active Member

    i think you miss what i want, need option for background color, which be used in post for admin and moderators separate colors, @Brogan provide me this code
    PHP:
    .message.staff .messageContent {
    background-colororange;
    }
    but want separate for admin and mods
     
  13. Brogan

    Brogan XenForo Moderator Staff Member

    As I have already posted:
     
  14. clove28

    clove28 Active Member

    Hi Brogan. How about other usergroups other than mods and admins?
     
  15. clove28

    clove28 Active Member

    Anybody knows how to do this?
     
  16. Carlos

    Carlos Well-Known Member

    OP, go into a Usergroup of your choice, and put this in "Username CSS" for colors:
    Code:
    font-family: "Lucida Grande" ,Helvetica,Arial,sans-serif;
    font-weight: bold;
    color: #ffe400;
    That's what I have for one of my users.
     

Share This Page