# How would I target Unsolved topics with CSS?

**URL:** <https://meta.discourse.org/t/how-would-i-target-unsolved-topics-with-css/268370>\
**Category:** Development\
**Tags:** solved, css\
**Created:** [June 8, 2023, 4:44pm UTC](https://meta.discourse.org/t/how-would-i-target-unsolved-topics-with-css/268370 "2023-06-08T16:44:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [June 14, 2023, 10:19pm UTC](https://meta.discourse.org/t/how-would-i-target-unsolved-topics-with-css/268370/4 "2023-06-14T22:19:45Z")

</div>

i tried figuring out a wildcard condition for any category with solved enabled but could not. but you can combine all the relevant categories into one code snippet:

```scss
 /* Highlight unsolved topics */
 
.topic-list-item.category-support, 
.topic-list-item.category-another_category,
.topic-list-item.category-yet_another_category:not(.status-solved) {
    background: rgba(255,192,203,.2);
}

```

or one could make a theme component and have a setting to add whatever categories you want to apply. i suspect there may be a way to target categories with solved enabled but i can’t seem to figure it out. 🤔

---

_[View the full topic](https://meta.discourse.org/t/how-would-i-target-unsolved-topics-with-css/268370)._
