Đoạn CSS của bạn chưa đúng, bạn dán đoạn CSS lên đây mình sửa cho
{{ include('xenfocus_base.less') }}
{{ include('xenfocus_theme.less') }}
// Place your custom code below
/* ### User Banners ### */
.username.style1:before {
content: "[AD] ";
color: red;
}
.userBanner.userBanner--Administrator
{
&:before{
.m-faBase();
.m-faContent(@fa-var-crown);
padding-right: 4px; }
}
vẫn k đc ạCSS:{{ include('xenfocus_base.less') }} {{ include('xenfocus_theme.less') }} // Place your custom code below /* ### User Banners ### */ .username.style1:before { content: "[AD] "; color: red; } .userBanner.userBanner--Administrator { &:before{ .m-faBase(); .m-faContent(@fa-var-crown); padding-right: 4px; } }
.username--style1:before {
content: "[AD]";
color: red;
}
Người đăng | Chủ đề tương tự | Diễn đàn | Trả lời | Ngày đăng |
---|---|---|---|---|
![]() |
Help Giúp đỡ tạo hiệu ứng cho Username | Tips and Guides | 5 | |
![]() |
Help Cho hỏi về username | Tips and Guides | 31 | |
![]() |
Hướng dẫn Glowing Usernames - Tên người dùng phát sáng | Tips and Guides | 4 | |
![]() |
Hướng dẫn Tạo username nhấp nháy cho Xenforo | Tips and Guides | 9 | |
![]() |
Hướng dẫn thêm Icon font Awesome trước username và user badge | Tips and Guides | 8 |