- 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:
Lưu lại là xong.
Kết quả:
Chúc các bạn thành công.
Để 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ả:
Nguồn: xenforo.com
Bài viết liên quan
Bài viết mới