@Bill_S pointed this out to me this morning…
There shouldn’t be any inline styles. Otherwise, we cannot style those particular elements. Can we get them moved to the style sheet? Please?
@Bill_S pointed this out to me this morning…
There shouldn’t be any inline styles. Otherwise, we cannot style those particular elements. Can we get them moved to the style sheet? Please?
This is not a bug, those colors are set via the category preferences as in “this is the color that represents this category”. To change them click edit on the category and specify a new color for the category badge…
I agree its not a bug, but it does make customizing category badges a bit more tricky.
Longer term I am happy to clean up the extensibility method here, you can probably just override the function in a plugin / site extension.
We found a way to override it using !important, but it’s a bit of a hack…
You also cant can’t the color directly on /category (for “all categories”) since there is no Edit option there.
Actually you can, you simply have to use
.category-dropdown-menu div.cat:first { background-color: #FF0000; } /* may still need !important */
Thanks guys, we got it.
To change them click edit on the category and specify a new color for the category badge…but iam not able to change it.
badge color in edit category popup page is not clickable or editable. Any clue?
Can you provide a screenshot?
if you click on a colour in the background color section below it - it should change?
Yes, indeed! It changes. Even if it takes a few seconds until the “Badge color” field changes it’s color so that I as the user do notice, that I hit the right button.
Maybe “Background color” is a false leading wording. But thanks for the (more than logic) hint!