# كيفية نقل الفئة إلى عمود في "الأحدث"

**URL:** https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760
**Category:** Support
**Created:** [8 ديسمبر 2018، 12:55م UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760 "2018-12-08T12:55:22Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![tessus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tessus/32/126320_2.png) [@tessus](https://meta.discourse.org/u/tessus)
#### Post date: [8 ديسمبر 2018، 12:55م UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760/1 "2018-12-08T12:55:22Z")

</div>

A while back I’ve noticed that the category is shown in a second line in `/latest`.

How can I move the category to a separate column. (I think I’ve seen that before.)

Edit: I accidentally hit a key combination that saved the text, before I was actually finished.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [8 ديسمبر 2018، 12:56م UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760/2 "2018-12-08T12:56:12Z")

</div>

> [@The topic list doesn't need a category column](https://meta.discourse.org/t/the-topic-list-doesnt-need-a-category-column/101352/42):
>
> [Edit: Corrected the CSS to work on all categories.] [Edit2: Needed to add “display: block;” to the container after a recent Discourse change.] I haven’t tested this much, as I only just did it, but I made this CSS change which others may find useful, if they dislike the new topic list layout. Before: After: CSS code: .topic-list-item .link-bottom-line { float: right; margin-top: 0.2em; display: block; } .topic-list-item .link-bottom-line .badge-w…

---

<div class="post-metadata">

### Author: ![tessus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tessus/32/126320_2.png) [@tessus](https://meta.discourse.org/u/tessus)
#### Post date: [8 ديسمبر 2018، 1:03م UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760/3 "2018-12-08T13:03:01Z")

</div>

Ah, ok, so I was right. The layout has changed. Thanks for the link.

I think the topics are now less readable. I don’t have to sort the topics according to a category, but a separate column makes the titles more readable. I wish there was an option to get the column back.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [8 ديسمبر 2018، 1:05م UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760/4 "2018-12-08T13:05:01Z")

</div>

That thread was only several posts down from yours. Can I suggest you contribute to the discussion there.

The options are now:

- Discourse adds an option to revert to prior layout (unlikely)
- You embrace the change and leverage the extra space (e.g. adopt a sidebar).
- You use the CSS or simliar as shown to manipulate the view (partial solution)
- Write a plugin or Theme component to override the Topic List template (.hbs). Probably not that hard because initially you may only need to replace the old one ;). However that would require maintenance over time and would get out of step, so it’s not the best solution longer term.
- Install the existing [Topic List Previews](https://meta.discourse.org/t/topic-list-previews/101646) plugin and enjoy optional images AND a category column in your view!

---

<div class="post-metadata">

### Author: ![tessus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tessus/32/126320_2.png) [@tessus](https://meta.discourse.org/u/tessus)
#### Post date: [8 ديسمبر 2018، 1:12م UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760/5 "2018-12-08T13:12:35Z")

</div>

Thanks again. Yes, I can move the discussion there.

However, the topic suggests the exact opposite that’s why I never read it nor thought of posting in that thread instead.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [8 ديسمبر 2018، 1:26م UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760/6 "2018-12-08T13:26:08Z")

</div>

Your post was not in vain though! I’ve found that the change has messed with our Topic List Previews plugin which will need an update to add the Category header text back! 😊

---

<div class="post-metadata">

### Author: ![tessus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tessus/32/126320_2.png) [@tessus](https://meta.discourse.org/u/tessus)
#### Post date: [8 ديسمبر 2018، 2:08م UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760/7 "2018-12-08T14:08:40Z")

</div>

Unfortunately I don’t have access to install plugins. I am an admin, but I don’t have shell access. So I guess I will have to use the CSS option. ☹

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [8 ديسمبر 2018، 2:09م UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760/8 "2018-12-08T14:09:50Z")

</div>

Best workaround for now. Perhaps you can pursue getting root access in meantime 🙂 (and by then this will be fixed in TLP hopefully).

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [11 ديسمبر 2018، 6:08ص UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760/9 "2018-12-11T06:08:09Z")

</div>

See

> [@Add Category Column](https://meta.discourse.org/t/add-category-column/103893):
>
> discourse2Summary Add Category Column adds a category column to the topic lists.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/add-category-column)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-add-category-column](https://github.com/discourse/discourse-add-category-column)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Some time ago, categories were displayed in the topic lists as a column. [After discussing its usefulness](https://meta.discourse.org/t/the-topic-list-doesnt-need-a-category-column/101352), the dedicated column for …

---

<div class="post-metadata">

### Author: ![tessus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tessus/32/126320_2.png) [@tessus](https://meta.discourse.org/u/tessus)
#### Post date: [11 ديسمبر 2018، 10:17ص UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760/10 "2018-12-11T10:17:51Z")

</div>

Thanks a lot for the link.

---

<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: [10 يناير 2019، 10:19ص UTC](https://meta.discourse.org/t/how-to-move-the-category-into-a-column-in-latest/103760/11 "2019-01-10T10:19:47Z")

</div>

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