Xenforo 2.1 Add Font Awesome icons to the Forum Statistics (xf 2.0 / 2.1)

Soul1991

Member
Registered
Joined
Nov 14, 2019
Messages
8
Time online
9h 56m
Points
3
No salen los iconos
 

Attachments

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
V.I.P Member
Registered
Joined
Nov 13, 2018
Messages
4,235
Time online
5d 7h 32m
Points
523
add extra.less
Code:
.p-body-sidebar [data-widget-definition="forum_statistics"] .pairs.pairs--justified > dt:before {
    font-family: "Font Awesome 5 Pro";
    padding-right: 3px;
}
.p-body-sidebar [data-widget-definition="forum_statistics"] .pairs:nth-child(1) dt:before {
    content: "\f4b2";
}
.p-body-sidebar [data-widget-definition="forum_statistics"] .pairs:nth-child(2) dt:before {
    content: "\f4b6";
}
.p-body-sidebar [data-widget-definition="forum_statistics"] .pairs:nth-child(3) dt:before {
    content: "\f2bd";
}
.p-body-sidebar [data-widget-definition="forum_statistics"] .pairs:nth-child(4) dt:before {
    content: "\f234";
}
For l'add_on Andy forumStatisticsPlus
Code:
.p-body-sidebar [data-widget-definition="forumStatisticsPlus"] .pairs.pairs--justified > dt:before {

    font-family: "Font Awesome 5 Pro";

    padding-right: 3px;

}

.p-body-sidebar [data-widget-definition="forumStatisticsPlus"] .pairs:nth-child(1) dt:before {

    content: "\f4b2";

}

.p-body-sidebar [data-widget-definition="forumStatisticsPlus"] .pairs:nth-child(2) dt:before {

    content: "\f4b6";

}

.p-body-sidebar [data-widget-definition="forumStatisticsPlus"] .pairs:nth-child(3) dt:before {

    content: "\f2bd";

}

.p-body-sidebar [data-widget-definition="forumStatisticsPlus"] .pairs:nth-child(4) dt:before {

    content: "\f4b4";

}

.p-body-sidebar [data-widget-definition="forumStatisticsPlus"] .pairs:nth-child(5) dt:before {

    content: "\f4ab";

}

.p-body-sidebar [data-widget-definition="forumStatisticsPlus"] .pairs:nth-child(6) dt:before {

    content: "\f25d";

}

.p-body-sidebar [data-widget-definition="forumStatisticsPlus"] .pairs:nth-child(7) dt:before {

    content: "\f234";

}
 
Top