The color of the feedback buttons at the article bottom remains grey when you do not hover them. You wish to change the default color of the feedback buttons and customize them. Perform the following steps to configure the default color of the feedback buttons:


Solution

1_Screenshot-Code_Change_the_color_of_feedback_buttons

  1. Go to SettingsKnowledge base siteCustom CSS & JavaScriptCustom CSS

  2. Paste the below CSS snippet in the window

.article-vote-container .actions .btn.yes i {
    background-color: #5ebf83;
    color: white;
}

.article-vote-container .actions .btn.no i {
    background-color: #e67367;
    color: white;
}

.article-vote-container .actions .btn.yes {
    color: #5ebf83;
}

.article-vote-container .actions .btn.no {
    color: #e67367;
}

  1. Update the color codes as per your requirement
  • .btn.yes i background color - Background color of the "Yes" (Thumbs up) button
  • .btn.yes - Color for the word "Yes"
  • .btn.no i background color - Background color of the "No" (Thumbs down) button
  • .btn.no - Color for the word "No"
  • color - Border color of the button
  1. Click Save

Outcome

Before

The color of the feedback buttons appears grey when you aren't hovering over them.
4_Screenshot-Feedback_color_before


After

The color of the feedback buttons appears in the configured color when you aren't hovering over them.
5_Screenshot-Feedback_color_after