FA for different category

maszd

cXF BRONZE
cXF Donor
Messages
87
Likes
38
#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
87
Likes
38
#2
nevermind, found it :)
Code:
.node.node_26 .categoryNodeInfo .nodeTitle::before {
    font-family: FontAwesome;
    content: "\f0fc";
    padding-right: 5px;
    font-weight: normal;
    color: #FFFFFF;
}
 

Welcome to customizeXF

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

Similar threads