FA for different category

maszd

cXF BRONZE
cXF Donor
Messages
112
Likes
43
#1
Hi @BassMan
currently iam use this code for add fa icon for category:
Code:
.nodeList .categoryStrip .nodeTitle a::before {
    content: "\f0fc";
    font-family: FontAwesome;
    padding-right: 5px;
    font-weight: normal;
}
that code for all category, its possible to make different icon for each category?
thank you.
 

maszd

cXF BRONZE
cXF Donor
Messages
112
Likes
43
#2
nevermind, found it :)
Code:
.node.node_26 .categoryNodeInfo .nodeTitle::before {
    font-family: FontAwesome;
    content: "\f0fc";
    padding-right: 5px;
    font-weight: normal;
    color: #FFFFFF;
}
 

You must log in or register to reply here.

Forgot your password?
Don't have an account? Register now

Welcome to customizeXF

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

Similar threads

Top