# 현재 사용자의 게시글을 분리하는 CSS 선택기

**URL:** https://meta.discourse.org/t/css-selector-to-separate-posts-by-current-user/146267
**Category:** Development
**Created:** [3월 31, 2020, 12:54오후 UTC](https://meta.discourse.org/t/css-selector-to-separate-posts-by-current-user/146267 "2020-03-31T12:54:34Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![zcuric](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zcuric/32/292837_2.png) [@zcuric](https://meta.discourse.org/u/zcuric)
#### Post date: [3월 31, 2020, 4:44오후 UTC](https://meta.discourse.org/t/css-selector-to-separate-posts-by-current-user/146267/3 "2020-03-31T16:44:39Z")

</div>

한 가지 방법은 토픽 목록에서 현재 사용자가 게시자인 토픽을 찾는 것입니다. 이는 jQuery로 수행할 수 있습니다. 조건이 참이면 해당 행에 스타일을 적용하면 됩니다. 단점으로는 사용자가 OP(첫 번째 게시글) 토픽의 게시자로 표시될 수 있다는 점이 있습니다.

다른 방법은 토픽 목록 컴포넌트를 완전히 오버라이드하고 해당 부분에서 처리하는 것입니다. 템플릿 오버라이딩에 대한 자세한 내용은 다음 링크에서 확인할 수 있습니다:

> [@Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648#heading--4-b-2):
>
> Discourse Themes and Theme Components can be used to customize the look, feel and functionality of Discourse’s frontend. This section of the developer guides aims to provide all the reference materials you need to develop simple themes for a single site, right up to complex open-source theme components. This introduction aims to provide a map of all the tools and APIs for theme development. If you prefer a step-by-step tutorial for theme development, jump straight to: Themes vs. Theme Compon…

---

_[View the full topic](https://meta.discourse.org/t/css-selector-to-separate-posts-by-current-user/146267)._
