Skip to main content
Answer

Which color setting is for "best answer"?

  • November 5, 2020
  • 4 replies
  • 118 views

Kgastaldo
Forum|alt.badge.img+1

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 … 

 

 

Best answer by bjoern_schulze

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
Forum|alt.badge.img
  • Helper ⭐️
  • November 5, 2020

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***;
}

 


Kgastaldo
Forum|alt.badge.img+1
  • Author
  • Helper ⭐️⭐️⭐️
  • November 5, 2020

Ahh, that makes sense. Thank you!


bjoern_schulze
Forum|alt.badge.img+3
  • Helper ⭐️⭐️⭐️
  • Answer
  • November 6, 2020

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;
}

 


Yoeri
Forum|alt.badge.img+4
  • Gainsight Employee ⭐️⭐️⭐️
  • November 9, 2020

Thanks for jumping in Bjorn, you are right!