# 在用户审批审核队列中隐藏除一个自定义字段外的所有字段

**URL:** <https://meta.discourse.org/t/hide-all-but-one-custom-field-in-the-user-approval-review-queue/151040>\
**Category:** Product Support\
**Created:** [2020 年5 月 11 日 12:15 UTC](https://meta.discourse.org/t/hide-all-but-one-custom-field-in-the-user-approval-review-queue/151040 "2020-05-11T12:15:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
发布日期： [2020 年5 月 11 日 12:15 UTC](https://meta.discourse.org/t/hide-all-but-one-custom-field-in-the-user-approval-review-queue/151040/1 "2020-05-11T12:15:03Z")

</div>

有人能帮我解决一些 CSS 问题吗？

我们的论坛有很多用户自定义字段（UCF），但只有一个是用于注册的；这个字段对于决定是否批准申请至关重要。

因此，我现在希望在审核队列中隐藏除该字段（恰好是第一个）之外的所有字段，这样我的版主们就不必在审核每个新用户时查看一堆空字段了。

我目前做到了这一步：

```plaintext
.reviewable-user-details.user-field{
     display: none;
    /*尝试隐藏审核队列中的 UCF —— 目前隐藏了所有字段*/
}

```

这确实隐藏了所有字段，但我仍需要显示第一个。我尝试过 `&:nth-of-type(1)`，但在这里不起作用 —— 我想是因为 HTML 的结构方式。这些元素没有类名。

有什么建议吗？

---

_[View the full topic](https://meta.discourse.org/t/hide-all-but-one-custom-field-in-the-user-approval-review-queue/151040)._
