Extend the text width in the category banner

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…

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.

7 Likes

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