Tutorial 2x Add an FA logo to the user group - Thêm biểu tượng FA vào nhóm người dùng của XenForo 2

PVS

Super Moderator
Thành viên BQT
Tham gia
28/02/2015
Bài viết
16,829
Được Like
12,687
Add an FA logo to the user group - Thêm biểu tượng FA vào nhóm người dùng của XenForo 2

Để thực hiện việc này, vào AdminCP và đến template extra.less thêm đoạn code sau:
Mã:
.username--style3:before { // Change the number 3 by the number of the user group you want.
    font-family: "FontAwesome";
    content: "\f132"; // Change the unicode (f132) by the one you want to find on the site: https://fontawesome.com/v4.7.0/icons/
    color: inherit;
    padding-right: 4px;
    display: inline-block;
}

Lưu lại là xong.

Kết quả:

9MLhDNFdTECVGc-Rhln_Xg.png

Chúc các bạn thành công.


Nguồn: xenforo.com​
 

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Dịch vụ XenForo của VNXF

Mr. Tuấn

Mobile/Zalo: 0988 488 096

Telegram: bluekpro

Email: [email protected]

Nhà Tài Trợ

Mút Xốp Không Gian
pallet Thịnh Phát
Top Bottom