Creating custom prefix styling

XF 2 Tip Creating custom prefix styling

You don't need to edit other files now except extra.less I use the following code (demo) to do it then add the tag in prefix.

/*** add too extra.less below css code ***/


/*** Prefix Notice ***/
.label.label--pre-notice {
background: #FF0000;
color: #fafafa;
&:hover {
background: #FF0000;
color: #fafafa;
}
&:before {
.m-faBase();
.m-faContent(@fa-var-bullhorn);
padding-right: 4px;
}
}
/**********/
qwerwaewe
awesome
Thanks for sharing, coz im new with xenforo
perfect
Very Nice
Top