FA for different category

Currently reading:
FA for different category

maszd

cXF Pack C
cXF Pack B
cXF Donor
May 20, 2015
119
46
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 Pack C
cXF Pack B
cXF Donor
May 20, 2015
119
46
nevermind, found it :)
Code:
.node.node_26 .categoryNodeInfo .nodeTitle::before {
    font-family: FontAwesome;
    content: "\f0fc";
    padding-right: 5px;
    font-weight: normal;
    color: #FFFFFF;
}
 

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.

Top