custom prefix on xf2

android88

cXF BRONZE
Messages
8
Likes
0
#4
extra.less:

Code:
.prefix.prefixAdd-on {
   background: none repeat scroll 0 0 #5db5d8;
    color: #fafafa !important;
    font-weight: normal;
    border: double !important;
    font-size: 12pt;
    display: inline-block;

}
 
Last edited:

BassMan

Staff member
Administrator
Messages
567
Likes
259
Website
www.customizexf.com
#5
That should do:

Code:
.p-title .prefix.prefixTest {
    font-size: 12pt;
    display: inline-block;
}
.prefixTest:before {
    content: "\f1cd";
    font-family: FontAwesome;
    margin-right: 4px;
}
.prefix.prefixTest {
    background: none repeat scroll 0 0 #4A843C;
    color: #FAFAFA !important;
    border: double !important;
    padding: 0 5px 0 5px;
}
.prefix.prefixTest:hover {
    background: none repeat scroll 0 0 #4A4E51 !important;
    color: #fafafa !important;
}
 

Welcome to customizeXF

We are running default XenForo style customized by cXF
Registration is free!

Similar threads