Category Banners

I’ve added a couple new settings:

5 Likes

This is a great component, but since the latest Discourse update I get this error in my console:

TypeError: i is not a function. (In 'i(e,t,r)', 'i' is undefined)

Discourse warns me with this error:

Your site may not work because a theme / component has errors.
Caused by 'Category Banners'.

:frowning:

1 Like

Hi Ben, the component works on the latest Discourse version.

What is your Discourse version?

1 Like

Strange. I’m using 3.3.0.beta2-dev

1 Like

Hello,

This is what I want:
image

This is what I’m getting:

  1. extend banner background color 100%
  2. remove any extra at the arrows

Any tip anyone can share with me?

1 Like

Hello :wave:

In plugin outlet setting, change to below-site-header. That should do what you want!

2 Likes

I PR’d a small fix that should select the right color in the case where a @username is in the description. Before, it was taking the same color as the main text, making the username practically invisible.

2 Likes

Not exactly.

I want to hide the welcome banner when it is on a category page. Otherwise, when I enable the Welcome Banner to “discovery” instead of “homepage,” I will notice the Welcome Banner and Category Banner simultaneously. Does that make sense?