# Avatars by posts in Category with Featured Topics

**URL:** https://meta.discourse.org/t/avatars-by-posts-in-category-with-featured-topics/101669
**Category:** Support
**Created:** [9 בנובמבר,‏ 2018,‏ 3:19pm UTC](https://meta.discourse.org/t/avatars-by-posts-in-category-with-featured-topics/101669 "2018-11-09T15:19:05Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [10 בנובמבר,‏ 2018,‏ 12:46am UTC](https://meta.discourse.org/t/avatars-by-posts-in-category-with-featured-topics/101669/2 "2018-11-10T00:46:37Z")

</div>

You need to override the template. Some more details on how to do that here: [Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648/1#heading--4-b-2)

It’s a little harder to find the right template to override here because that category page is a template made of other templates. The one to override is `featured-topic.hbs`

Try adding this code to `</head>` in `admin > customize > themes` — I’ve added the `#user-link` section which should add the avatars, you’ll need to add some CSS to style it as you’d like.

```HBS
<script type='text/x-handlebars' data-template-name='components/featured-topic'>
{{#user-link user=topic.last_poster}}
    {{avatar topic.last_poster imageSize="small"}}
{{/user-link}}
{{raw "topic-status" topic=topic}}
<a class='title' href="{{unbound topic.lastUnreadUrl}}">{{{unbound topic.fancyTitle}}}</a>
{{topic-post-badges newPosts=topic.totalUnread unseen=topic.unseen url=topic.lastUnreadUrl}}

{{#if latestTopicOnly}}
  <div class='last-user-info'>
    {{i18n 'categories.latest_by'}} <a href="{{{unbound topic.lastPosterUrl}}}">{{unbound topic.last_poster.username}}</a>
    <a href="{{unbound topic.lastPostUrl}}">{{format-age topic.last_posted_at}}</a>
  </div>    
{{else}}
  <a href="{{unbound topic.lastPostUrl}}" class="last-posted-at">{{format-age topic.last_posted_at}}</a>
{{/if}}
</script>

```

 ![06%20PM](https://global.discourse-cdn.com/meta/original/3X/0/e/0ee43c56804e5925242c3ecc3ffcee019966d523.png)

---

_[View the full topic](https://meta.discourse.org/t/avatars-by-posts-in-category-with-featured-topics/101669)._
