Skip to main content
Kgastaldo
Helper ⭐️⭐️⭐️
Nov 5, 2020 3:48 PM UTC
Solved

Which color setting is for "best answer"?

So the “success color” seems to be the actual little box that says “answer.” What is changing the background color of the actual answer? None of my colors are this blue … 

 

 

bjoern_schulze
Helper ⭐️⭐️⭐️
Nov 6, 2020 2:17 PM UTC

Apparently this is a bug that is currently being fixed. The expected behaviour is that the success color is being used for the best answer (the comment itself as well as the pinned solution under the question). But right now some other color is being used instead.

In the meantime you can use Custom CSS to override the wrong color, like @mstone suggested. I recommend to also include the pinned solution, so the Custom CSS would look like this (Source: @Yoeri)

.post--bestanswer, .answer-field{
background: #00d89e;
}

 

4 replies

mstone
Helper ⭐️
Nov 5, 2020 5:23 PM UTC

Took a look at your community, it looks like it’s coming from a CSS variable called .post--bestanswer{}

 

 

I have no idea where to set that either on the front-end. What you can probably do is add custom CSS to update those values for now:

.post--bestanswer {
border: 1px solid ***ADD COLOR HERE***;
background: ***ADD COLOR HERE***;
}

 

Translate
Kgastaldo
KgastaldoAuthor
Helper ⭐️⭐️⭐️
Nov 5, 2020 6:49 PM UTC

Ahh, that makes sense. Thank you!

Translate
bjoern_schulze
Helper ⭐️⭐️⭐️
Nov 6, 2020 2:17 PM UTC

Apparently this is a bug that is currently being fixed. The expected behaviour is that the success color is being used for the best answer (the comment itself as well as the pinned solution under the question). But right now some other color is being used instead.

In the meantime you can use Custom CSS to override the wrong color, like @mstone suggested. I recommend to also include the pinned solution, so the Custom CSS would look like this (Source: @Yoeri)

.post--bestanswer, .answer-field{
background: #00d89e;
}

 

Translate
Yoeri
Gainsight Employee ⭐️⭐️⭐️
Nov 9, 2020 1:21 PM UTC

Thanks for jumping in Bjorn, you are right!

Translate
Group Product Manager, Customer Communities