카테고리 배너를 사용해도 기본 카테고리 제목이 숨겨지지 않음

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개의 좋아요

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

.category-heading {
  display: none;
}
4개의 좋아요

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개의 좋아요

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)

5개의 좋아요

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개의 좋아요

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

image

2개의 좋아요

컴포넌트에 CSS를 추가하여, 컴포넌터 배너가 존재할 때 기본 배너가 자동으로 숨겨지도록 했습니다. 그동안 커스텀 우회 방법을 사용해주셔서 감사합니다!

2개의 좋아요