# 주제 포함 카테고리 보기에서 하위 카테고리를 제거하는 방법은 무엇인가요?

**URL:** <https://meta.discourse.org/t/how-can-i-remove-the-child-categories-from-the-categories-with-featured-topics-view/249670>\
**Category:** Product Support\
**Created:** [12월 22, 2022, 2:38오후 UTC](https://meta.discourse.org/t/how-can-i-remove-the-child-categories-from-the-categories-with-featured-topics-view/249670 "2022-12-22T14:38:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [12월 24, 2022, 7:35오후 UTC](https://meta.discourse.org/t/how-can-i-remove-the-child-categories-from-the-categories-with-featured-topics-view/249670/5 "2022-12-24T19:35:29Z")

</div>

> [@Lhc\_fl](#):
>
> `subcategories `

네, 그쪽이 더 안전할 것 같아요.

* * *

수정: 디스코스의 코드를 살펴봤는데, `.subcategories`만 사용하는 것이 안전할 것 같습니다 (개인적으로는 가능하면 셀렉터 깊이를 너무 깊게 하지 않는 것을 선호합니다). 또한 모바일 뷰에서 `.subcategories-list`가 하위 카테고리 부모 컨테이너이므로 이것도 함께 숨기는 것을 고려해 보세요.

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-remove-the-child-categories-from-the-categories-with-featured-topics-view/249670)._
