Help

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

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

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

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

  1. 登录您的Website Toolbox账户。
  2. 点击 整合 主菜单中的链接。
  3. 点击 自定义代码 链接。
  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.