# Default category heading not hidden when category banner is used

**URL:** https://meta.discourse.org/t/default-category-heading-not-hidden-when-category-banner-is-used/327519
**Category:** Bug
**Tags:** category-banners
**Created:** [September 21, 2024, 6:44am UTC](https://meta.discourse.org/t/default-category-heading-not-hidden-when-category-banner-is-used/327519 "2024-09-21T06:44:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Westcan](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@Westcan](https://meta.discourse.org/u/Westcan)
#### Post date: [July 22, 2024, 9:03pm UTC](https://meta.discourse.org/t/default-category-heading-not-hidden-when-category-banner-is-used/327519/1 "2024-07-22T21:03:49Z")

</div>

Great theme component for categories! I’m running into an issue when I add a category logo that the category description displays in the default position on the category page as per the screenshot below. Is there a way to turn off the default placeholder of the category description from displaying when the “discourse-category-banners” is enabled? I would like the category description to display in the banner just as it is now. If I turn off the category logo then it displays correctly, seems to maybe be an issue when you have the category logo enabled. Any suggestions would be appreciated. Thanks

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/f/c/dfce5ff928f7466eb330837ff854adff21c8bade.png)

---

<div class="post-metadata">

### Author: ![gru](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gru/32/374964_2.png) [@gru](https://meta.discourse.org/u/gru)
#### Post date: [August 12, 2024, 4:16pm UTC](https://meta.discourse.org/t/default-category-heading-not-hidden-when-category-banner-is-used/327519/2 "2024-08-12T16:16:41Z")

</div>

I had the same issue. You can fix that by editing your CSS:

```css
.category-heading {
  display: none;
}

```

---

<div class="post-metadata">

### Author: ![microhit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/microhit/32/447960_2.png) [@microhit](https://meta.discourse.org/u/microhit)
#### Post date: [September 21, 2024, 6:44am UTC](https://meta.discourse.org/t/default-category-heading-not-hidden-when-category-banner-is-used/327519/3 "2024-09-21T06:44:46Z")

</div>

So if i have an image for a category, it shows image twice, for example - within the banner category and also outside. How to get rid of the outside image?

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

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [September 21, 2024, 12:56pm UTC](https://meta.discourse.org/t/default-category-heading-not-hidden-when-category-banner-is-used/327519/4 "2024-09-21T12:56:21Z")

</div>

Seems a good idea to hide the default heading when the category banner is used. As long as the component doesn’t do it, you can use the css code provided by @gru above. (In case you need it there is a guide about how to [Making custom CSS changes on your site](https://meta.discourse.org/t/make-css-changes-on-your-site/168101))

---

<div class="post-metadata">

### Author: ![microhit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/microhit/32/447960_2.png) [@microhit](https://meta.discourse.org/u/microhit)
#### Post date: [September 21, 2024, 5:57pm UTC](https://meta.discourse.org/t/default-category-heading-not-hidden-when-category-banner-is-used/327519/5 "2024-09-21T17:57:20Z")

</div>

Thanks, i edited the main theme css, and the image disappeared.

I just have one more question - is there any way to center align the text with image ?

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/0/5/e051f0afe4a2b778090e5f33a80cdad7c7b7d356.png)

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [September 21, 2024, 8:58pm UTC](https://meta.discourse.org/t/default-category-heading-not-hidden-when-category-banner-is-used/327519/6 "2024-09-21T20:58:24Z")

</div>

> [@microhit](#):
>
> I just have one more question - is there any way to center align the text with image ?

There is a setting to center the text. Give it a try!

![image](https://global.discourse-cdn.com/meta/original/4X/a/6/2/a62c0e65f0557a9c892fccd5cc6a698b21a9c739.png)

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [September 5, 2025, 7:36pm UTC](https://meta.discourse.org/t/default-category-heading-not-hidden-when-category-banner-is-used/327519/7 "2025-09-05T19:36:40Z")

</div>

I’ve just added CSS to the component that will hide the default banners automatically when the component banner is present, thanks for sticking with the custom workaround for a while!
