# Decorate a topic in latest on mobile

**URL:** <https://meta.discourse.org/t/decorate-a-topic-in-latest-on-mobile/254534>\
**Category:** Development\
**Created:** [February 8, 2023, 11:56pm UTC](https://meta.discourse.org/t/decorate-a-topic-in-latest-on-mobile/254534 "2023-02-08T23:56:27Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![asc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/asc/32/288324_2.png) [@asc](https://meta.discourse.org/u/asc)\
**Post date:** [February 10, 2023, 4:03pm UTC](https://meta.discourse.org/t/decorate-a-topic-in-latest-on-mobile/254534/8 "2023-02-10T16:03:23Z")

</div>

I got this working on mobile and I’ll post to #Customization > Theme component once I’m approved to join. This issue with mobile was I was adding a class to the topic-list child element that had a “main-link” class, but on mobile that main-link child element is a few more steps down the hierarchy than it is on desktop.

---

_[View the full topic](https://meta.discourse.org/t/decorate-a-topic-in-latest-on-mobile/254534)._
