# Number of topics not showing beside categories in category dropdown

**URL:** https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531
**Category:** Support
**Created:** [September 9, 2020, 5:31pm UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531 "2020-09-09T17:31:45Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![riteshsaini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riteshsaini/32/266453_2.png) [@riteshsaini](https://meta.discourse.org/u/riteshsaini)
#### Post date: [September 9, 2020, 5:31pm UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/1 "2020-09-09T17:31:46Z")

</div>

Hello,

The number of topics beside categories in category dropdown is not showing up.

 ![Category Dropdown](https://global.discourse-cdn.com/meta/original/3X/5/f/5f1c8ead7bedbf8b42859ce8ba04df32a7244339.png)

I even tried changing the category style but it doesn’t work. Is there any setting that I need to change?

Regards

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 9, 2020, 6:23pm UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/2 "2020-09-09T18:23:12Z")

</div>

I can’t think of any reason the counts would not be appearing. Likely something in your local site CSS is hiding it? Use f12 to examine the HTML elements and see.

---

<div class="post-metadata">

### Author: ![riteshsaini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riteshsaini/32/266453_2.png) [@riteshsaini](https://meta.discourse.org/u/riteshsaini)
#### Post date: [September 10, 2020, 2:56am UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/3 "2020-09-10T02:56:57Z")

</div>

@codinghorror I used Inspect Element and found that the HTML element for topic count is totally missing.

These are my site’s elements:

 ![Screenshot-2020-09-10-at-8-18-49-AM](https://global.discourse-cdn.com/meta/original/3X/6/5/652690e0bc7c7ad88051b4172c06de2eddf6e744.png)

I compared it to this community’s elements and found this extra one that my site is missing:

 ![Screenshot-2020-09-10-at-8-11-56-AM](https://global.discourse-cdn.com/meta/original/3X/7/8/780cae00b822867cb4ff4b3e5c124f9bf73dc003.png)

What could be the reason?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 10, 2020, 8:27pm UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/6 "2020-09-10T20:27:41Z")

</div>

We really can’t think of any reason this would happen. Are you using any third-party plugins?

---

<div class="post-metadata">

### Author: ![riteshsaini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riteshsaini/32/266453_2.png) [@riteshsaini](https://meta.discourse.org/u/riteshsaini)
#### Post date: [September 11, 2020, 4:32am UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/7 "2020-09-11T04:32:38Z")

</div>

I’m using just one plugin:

 ![Screenshot 2020-09-11 at 9.58.38 AM](https://global.discourse-cdn.com/meta/original/3X/c/7/c71c542aa62a150de50f7251aa7695a32ddadd10.png)

And I’m using this component as well:

 ![Screenshot 2020-09-11 at 10.00.46 AM](https://global.discourse-cdn.com/meta/original/3X/c/1/c1202c84c42f26cdc4d814717aa56bf62d201518.png)

---

<div class="post-metadata">

### Author: ![riteshsaini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riteshsaini/32/266453_2.png) [@riteshsaini](https://meta.discourse.org/u/riteshsaini)
#### Post date: [September 15, 2020, 3:07am UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/8 "2020-09-15T03:07:45Z")

</div>

Any response? Anyone?

---

<div class="post-metadata">

### Author: ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)
#### Post date: [September 16, 2020, 2:42am UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/9 "2020-09-16T02:42:02Z")

</div>

I was facing the same situation in my instance, the issue being the category icons theme component, as it replaces the default renderer with the custom one that shows the icon beside the category name.

I’ve just submitted a [pull request](https://github.com/discourse/discourse-category-icons/pull/7) that fixes it by mirroring the default renderer’s way of showing the topic count and I installed my fork of the theme component [https://github.com/renato/discourse-category-icons](https://github.com/renato/discourse-category-icons) in my instance to restore the default behavior while/if the pull request isn’t accepted.

---

<div class="post-metadata">

### Author: ![riteshsaini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riteshsaini/32/266453_2.png) [@riteshsaini](https://meta.discourse.org/u/riteshsaini)
#### Post date: [September 16, 2020, 3:09am UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/10 "2020-09-16T03:09:46Z")

</div>

@renato thanks for the clarification. Should I just update the Category Icons theme component after the pull request is approved, or do I need to install your fork for that?

PS: I’m not very good with these techincal terms

---

<div class="post-metadata">

### Author: ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)
#### Post date: [September 16, 2020, 3:19am UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/11 "2020-09-16T03:19:14Z")

</div>

If you can wait, the safest path is updating the theme component once the change is approved 🙂

---

<div class="post-metadata">

### Author: ![riteshsaini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riteshsaini/32/266453_2.png) [@riteshsaini](https://meta.discourse.org/u/riteshsaini)
#### Post date: [September 16, 2020, 4:19am UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/12 "2020-09-16T04:19:30Z")

</div>

Thank you 🙂

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [September 16, 2020, 12:51pm UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/13 "2020-09-16T12:51:21Z")

</div>

Thanks for the PR @renato, it works great and is now merged.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [October 16, 2020, 12:51pm UTC](https://meta.discourse.org/t/number-of-topics-not-showing-beside-categories-in-category-dropdown/163531/14 "2020-10-16T12:51:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
