custom prefix on xf2

android88

cXF BRONZE
Messages
9
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
717
Likes
383
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;
}
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to customizeXF

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

Search forums

Similar threads

Top