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

XF 1.4 How To Apply This Customization To Staff Posts?

#1
Hi!

I have seen this customization in a Xenforo forum. The below image is displaying in all staff posts. Does anyone know this customization?



I'm having that "staff.png" image (Resolution:99x99). So, there is no need to create that image.

Thanks.
 

tajhay

Well-known member
#2
#4
It doesn't require an add-on.

The .staff class can be used to achieve it: https://xenforo.com/help/user-group-styling/
Few months before, Shelly helped me to do a similar modification:

Insert to Extra.CSS

Code:
.message.staff .messageContent:before {
float: right;
content: "STAFF";
font-size: 16px;
font-family: 'Georgia';
padding: 5px 10px;
background-color: #90d666;
border: 1px solid #6ea84a;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
border-radius: 3px;
color: white;
text-shadow: 0 0 0 transparent, 0 0 3px #54803a;
z-index: 100;
position: relative;
}
Similarly, how to replace those colors with the above "staff.png" image?
 
Last edited: