Help > Forum > 用户 > 隐藏或更改主持人和管理员头像上显示的冠状和盾牌图标

隐藏或更改主持人和管理员头像上显示的冠状和盾牌图标

论坛管理员头像的右下角出现一个皇冠图标,主持人的右下角出现一个盾牌图标。只有当内容与主持人分配的类别相关时,才会为主持人显示盾牌图标。这些图标可帮助用户快速识别帮助监督论坛或某些类别中的内容的人。

您可以按照以下说明隐藏或更改图标:

  1. 登录到您的Website Toolbox帐户。
  2. 单击 集成 链接。
  3. 集成 菜单中,单击 HTML 链接。
  4. 将下面显示的一个或多个 CSS 代码粘贴到 论坛头标签 HTML 代码 文本框。

    要隐藏这两个图标:

    <style>
      .image-wrapper > i.moderator_user, .image-wrapper > i.admin_user {
        display: none !important;
      }
    </style>
    

    要隐藏管理员图标:

    <style>
      .image-wrapper > i.admin_user {
        display: none !important;
      }
    </style>
    

    要隐藏主持人图标:

    <style>
      .image-wrapper > i.moderator_user {
        display: none !important;
      }
    </style>
    

    要更改管理员图标:

    <style>
      .image-wrapper > i.admin_user:before {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background-image: url(URL/ADDRESS OF ICON GES HERE);
        background-size: 80%;
        background-position: center;
        background-repeat: no-repeat;
      }
    </style>
    

    要更改主持人图标:

    <style>
      .image-wrapper > i.moderator_user:before {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background-image: url(URL/ADDRESS OF ICON GES HERE);
        background-size: 80%;
        background-position: center;
        background-repeat: no-repeat;
      }
    </style>
    
  5. 保存 你的变化。


If you still need help, please contact us.