# Extend the text width in the category banner

**URL:** https://meta.discourse.org/t/extend-the-text-width-in-the-category-banner/298496
**Category:** Development
**Tags:** category-banners
**Created:** [5월 2, 2018, 12:16오전 UTC](https://meta.discourse.org/t/extend-the-text-width-in-the-category-banner/298496 "2018-05-02T00:16:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Francois\_Douville](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/francois_douville/32/94221_2.png) [@Francois\_Douville](https://meta.discourse.org/u/Francois_Douville)
#### Post date: [5월 2, 2018, 12:16오전 UTC](https://meta.discourse.org/t/extend-the-text-width-in-the-category-banner/298496/1 "2018-05-02T00:16:37Z")

</div>

Great theme thank you!

Is it possible to have `max-width: 800px;` instead of `500px` ? It doesn’t look good and my description is not so long…

 ![18](https://global.discourse-cdn.com/meta/original/3X/7/4/74aab9955674ebc41cc52071c3ad4a343bd7ab3b.png)

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [5월 2, 2018, 12:28오전 UTC](https://meta.discourse.org/t/extend-the-text-width-in-the-category-banner/298496/2 "2018-05-02T00:28:38Z")

</div>

You can easily edit the theme component in the admin panel \> Customize \> discourse-category-banners \> Edit CSS/HTML

In Common CSS, you will have the line `max-width: 500px;`; you can edit and save it.

You will just have to edit this after each update.

This should also work if you want it to be permanent: add a CSS line in another CSS stylesheet. My guess is that something like this would work:

```
.category-title-header .category-title-contents {
    max-width: 800px !important;
 }

```

  

> **In English**
>
> In admin/customize/themes, you can easily modify the CSS/HTML of the added theme by clicking the button next to “Check for Updates”.
> 
> On line 8 in General \> CSS, there is the reference to max-width: 500px.
> 
> You can change the size here, save, and it will work. Simply, each time the theme is updated, you will need to make this modification.
> 
> Another permanent solution should work: in another stylesheet under Themes, you can add this code:
> 
> ```
> .category-title-header .category-title-contents {
> max-width: 800px !important;
> }
> 
> ```
> 
> I think this should work.

---

<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: [3월 8, 2024, 9:07오전 UTC](https://meta.discourse.org/t/extend-the-text-width-in-the-category-banner/298496/3 "2024-03-08T09:07:38Z")

</div>

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