# Comment ajouter des bannières de catégorie ?

**URL:** <https://meta.discourse.org/t/how-do-i-add-category-banners/136898>\
**Category:** Support\
**Created:** [Décembre 23, 2019, 3:51 UTC](https://meta.discourse.org/t/how-do-i-add-category-banners/136898 "2019-12-23T15:51:46Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![godgutten](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/godgutten/32/132077_2.png) [@godgutten](https://meta.discourse.org/u/godgutten)\
**Post date:** [Décembre 28, 2021, 11:43 UTC](https://meta.discourse.org/t/how-do-i-add-category-banners/136898/11 "2021-12-28T23:43:12Z")

</div>

Bonjour à tous. @manuel a créé un composant de thème qui étend ce code et permet aux gens de l’utiliser plus facilement sur leur propre forum.

> [@Category List with Banners](https://meta.discourse.org/t/category-list-with-banners/201280?u=godgutten):
>
> This component adds optional banners to the default category page styles Categories Only and Categories With Featured Topics: You can add banners in the component settings by defining the category right below the banner, a banner color and the heading text. There’s also an option to hide the default colored borders: [Screenshot from 2021-08-21 15-41-36] To add styles you can select the general class, as well as specific banners by category-id: .categor…

Mais les deux méthodes fonctionnent et c’est à vous de choisir comment vous voulez le faire. Et les deux méthodes donnent le même résultat.

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-add-category-banners/136898)._
