Tutorial 2x Customize default Resource Manager icon - Tùy chỉnh biểu tượng Resource Manager mặc định cho XenForo 2.2

PVS

Generalissimo
Thành viên BQT
Tham gia
28/02/2015
Bài viết
15,961
Được Like
12,454
Customize default Resource Manager icon - Tùy chỉnh biểu tượng Resource Manager mặc định cho XenForo 2.2

Biểu tượng ban đầu hơi "nhạt nhẽo", đây là cách tùy chỉnh nó

Trong template extra.less, hãy thêm cái này:
Less:
.avatar.avatar--resourceIconDefault {
    color: #9ac4e3 !important;
    background: #eff7fd !important;
    border: 1px solid #b7dbf5;
}
.avatar.avatar--resourceIconDefault > span:before {
content: "\e003";
}

Giải mã:
  • color: #68abdb !important; -> Màu của logo (FA)
  • background: #eff7fd !important; -> Màu nền
  • border: 1px solid #b7dbf5; -> Màu viền
  • content: "\e003"; -> Logo Font Awesome
Các biểu tượng "Font Awresome" có thể được tìm thấy tại đây: https://fontawesome.com/

Sans-titre-1.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

Hỗ trợ trực tuyến

Support Quảng cáo
Mr. San (PVS)

Skype chat, instant message

Mr. Tuấn (Blue)

Skype chat, instant message

Mr. Tuấn
0988 488 096
Mr. Trọng
0906 081 284
kinhdoanh@vnxf.vn

Nhà Tài Trợ

Mút Xốp Không Gian
pallet Thịnh Phát
Điện Lạnh Thịnh Phát
Top Bottom