# أبرز المواضيع المثبتة بشكل أفضل

**URL:** <https://meta.discourse.org/t/highlight-pinned-topics-better/102355>\
**Category:** UX\
**Created:** [20 نوفمبر 2018، 2:14ص UTC](https://meta.discourse.org/t/highlight-pinned-topics-better/102355 "2018-11-20T02:14:19Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
**Post date:** [19 أغسطس 2019، 4:59م UTC](https://meta.discourse.org/t/highlight-pinned-topics-better/102355/15 "2019-08-19T16:59:15Z")

</div>

جرب باستخدام

```css
.mobile-view .topic-list .main-link a.title {
    padding: 3px 0;
}

```

> [@Sentinelrv](#):
>
> أيضًا، هل توجد طريقة لجعلها تعمل في العرض الأحدث؟ حتى الآن تعمل فقط في عرض التصنيفات.

هل قرأت هنا؟

> [@Highlight pinned topics better](https://meta.discourse.org/t/highlight-pinned-topics-better/102355/6?u=dax):
>
> There is no status class (.pinned) in this case. To target a pinned topic you need to use the id, eg [data-topic-id="8"] { background: #ffffc9; } The CSS above target the topic globally everywhere, on /latest, on /categories and on topic, see: [image] [image] To target only the categories + latest page you need to add the appropriate class .navigation-categories.categories-list [data-topic-id="8"] { background: #ffffc9; } In this way the topic will be highlighted only on…

يجب أن تضيف أيضًا

```css
[data-topic-id="9582"] {
    background: #fffff0;
}

```

---

_[View the full topic](https://meta.discourse.org/t/highlight-pinned-topics-better/102355)._
