Standaard categoriekop niet verborgen wanneer categoriebanner wordt gebruikt

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

2 likes

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

.category-heading {
  display: none;
}
4 likes

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?

2 likes

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 Make CSS changes on Your Site)

5 likes

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 ?

1 like

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

image

2 likes

Ik heb zojuist CSS toegevoegd aan de component die de standaard banners automatisch verbergt wanneer de component banner aanwezig is, bedankt voor het een tijdje vasthouden aan de aangepaste workaround!

2 likes