# Display full categories full name

**URL:** <https://meta.discourse.org/t/display-full-categories-full-name/77079>\
**Category:** Product Support\
**Created:** [January 2, 2018, 2:17am UTC](https://meta.discourse.org/t/display-full-categories-full-name/77079 "2018-01-02T02:17:07Z")\
**Posts on this page:** 6\
**Page:** 1

## AI-generated summary

The discussion, titled "Display full categories full name," revolves around a user's request to display full category names in the Discourse interface, as they are currently truncated after 14 characters. [sebastien](/t/-/77079/1) highlights the issue, which makes the interface confusing. [codinghorror](/t/-/77079/2) mentions that a fix is planned via a new select-kit replacement, but in the meantime, CSS overrides can be used. [Johani](/t/-/77079/3) suggests increasing the `.category-dropdown-menu` minimum width to accommodate longer names, providing a CSS example and a visual result. [sebastien](/t/-/77079/4) notes that increasing the menu size alone doesn't solve the truncation issue. Finally, [sebastien](/t/-/77079/5) shares a working CSS solution: setting `max-width: none !important` for `.category-dropdown-menu` and `.badge-category` to prevent text truncation.

<div class="post-metadata">

**Author:** ![sebastien](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@sebastien](https://meta.discourse.org/u/sebastien)\
**Post date:** [January 2, 2018, 2:17am UTC](https://meta.discourse.org/t/display-full-categories-full-name/77079/1 "2018-01-02T02:17:07Z")

</div>

Hi all,

Let me start by wishing you guys an happy new year 2018 😃😃

One of my users asked me if it’s possible to display the categories/sub-categories full name. Currently it seems names are truncated after the 14 characters.

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/6/d6d1dd0492218d07019cc07038c385e8d43b6e56.png)

It makes the UEX slightly confusing.

Thx  
Seb

---

<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:** [January 2, 2018, 2:31am UTC](https://meta.discourse.org/t/display-full-categories-full-name/77079/2 "2018-01-02T02:31:56Z")

</div>

There are plans for @j.jaffeux to replace this problem element with our newer select-kit, hopefully that will happen early in 2018, beyond that you can override the css in Admin, customize.

---

<div class="post-metadata">

**Author:** ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)\
**Post date:** [January 2, 2018, 2:46am UTC](https://meta.discourse.org/t/display-full-categories-full-name/77079/3 "2018-01-02T02:46:59Z")

</div>

This might not cover everything but it’s a start.

`.category-dropdown-menu` is set to `minimum-width: 131px` by default.

You can override that number to increase the width to accommodate for wider category names..

**For example, this:**

```plaintext
.category-dropdown-menu {
    min-width: 180px; //Increase the number to the desired width.
}

```

**Will give you this result:**

 ![Capture](https://global.discourse-cdn.com/meta/original/3X/a/b/ab73be33e24fcaf0b158af8006783bc1d0a6b83f.PNG)

---

<div class="post-metadata">

**Author:** ![sebastien](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@sebastien](https://meta.discourse.org/u/sebastien)\
**Post date:** [January 2, 2018, 4:32am UTC](https://meta.discourse.org/t/display-full-categories-full-name/77079/4 "2018-01-02T04:32:38Z")

</div>

Hi,

Thx for your quick answer. I can increase the menu size but the text still get truncated.

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/9/295641dda944a0bee839a2924819ab42fd34a49b.png)

---

<div class="post-metadata">

**Author:** ![sebastien](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@sebastien](https://meta.discourse.org/u/sebastien)\
**Post date:** [January 2, 2018, 4:42am UTC](https://meta.discourse.org/t/display-full-categories-full-name/77079/5 "2018-01-02T04:42:24Z")

</div>

Got it working with the following CSS code

```
.category-dropdown-menu, .badge-category {
       max-width: none !important;
}

```

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [June 8, 2024, 12:43pm UTC](https://meta.discourse.org/t/display-full-categories-full-name/77079/6 "2024-06-08T12:43:48Z")

</div>

Closed on June 8, 2024, 12:43pm UTC

This topic was automatically closed after 2349 days. New replies are no longer allowed.
