# كيفية إخفاء فئة الطاقم باستخدام CSS؟

**URL:** <https://meta.discourse.org/t/how-to-hide-the-staff-category-with-css/142842>\
**Category:** Product Support\
**Created:** [28 فبراير 2020، 2:33ص UTC](https://meta.discourse.org/t/how-to-hide-the-staff-category-with-css/142842 "2020-02-28T02:33:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Tim\_Jefferies](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tim_jefferies/32/113296_2.png) [@Tim\_Jefferies](https://meta.discourse.org/u/Tim_Jefferies)\
**Post date:** [5 مارس 2020، 9:27ص UTC](https://meta.discourse.org/t/how-to-hide-the-staff-category-with-css/142842/4 "2020-03-05T09:27:15Z")

</div>

للأسف، لا تزال هناك منشورات من الطاقم تظهر في نتائج البحث. لقد راجعت كود CSS وتمكنت من تحديد القسم باستخدام الكود التالي:

> .fps-result .author a[data-user-card=“system”] {  
> }

ولكن يبدو أنه لا توجد طريقة حالية لاختيار الفئة الأب في مواصفات CSS (على الرغم من أنها موجودة في مواصفات مستقبلية) ([:has() - CSS | MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/:has))، لذا لا أرى كيف يمكن إخفاء هذه الإدخالات من نتائج البحث دون إجراء تغييرات على الطريقة التي يقوم بها نظام Discourse بتنسيق الإدخالات في صفحات البحث.

---

_[View the full topic](https://meta.discourse.org/t/how-to-hide-the-staff-category-with-css/142842)._
