Support Xenforo Prefix CSS Help

Muckraker

Registered
I am looking for help with CSS adding to Resource Prefixs.

My admin panel:
R6XDLGA.jpg


Prefix designs i have seen on other websites:
CK8JRuM.jpg

R4XWD86.jpg

How can i add css designs like that?
I cannot find info on this anywhere.
 
Solution
extra.less
CSS:
.xnforolprofix1:before {
    font-family: "Font Awesome 5 Pro";
    padding-left: 5px;
    padding-right: 5px;
    content: "\f110";
}
.xnforolprofix1 {
    background: #CC99FF;
    color: #FFFFFF;
}
.xnforolprofix1 {
    display: inline-block;
    padding: 3px .35em;
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 90%;
    line-height: 1.26;
    text-decoration: none;
}
You can use this

Muckraker

Registered
Your pictures are not visible
Please attach in this section(upload images)
Sorry
My admin panel:

prefix.jpg


Prefix designs i have seen on other websites:

css1.jpg
css2.jpg


I found this thread here: XenForo Tips - Creating custom prefix styling
and the above thread is useful, it lets me know where to do the edits, but I cannot figure out how to add images to the Custom CSS Class Names like the pics i posted above from another website.
 

XenForo

Administrative
extra.less
CSS:
.xnforolprofix1:before {
    font-family: "Font Awesome 5 Pro";
    padding-left: 5px;
    padding-right: 5px;
    content: "\f110";
}
.xnforolprofix1 {
    background: #CC99FF;
    color: #FFFFFF;
}
.xnforolprofix1 {
    display: inline-block;
    padding: 3px .35em;
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 90%;
    line-height: 1.26;
    text-decoration: none;
}
You can use this
 
Solution
  • Tags
    xenforo xenforo css xenforo prefix
  • Back
    Top Bottom