---
title: "How to change the color of Feedback buttons"
slug: "how-to-change-the-color-of-feedback-buttons"
description: "Enhance reader engagement by customizing Yes and No feedback button colors for better visibility and brand consistency in your knowledge base articles."
tags: ["Customization", "Knowledge base design"]
updated: 2026-06-20T09:46:32Z
published: 2026-06-20T09:46:32Z
canonical: "docs.document360.com/how-to-change-the-color-of-feedback-buttons"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.document360.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to change the color of Feedback buttons

The Yes and No feedback buttons at the bottom of each article appear grey by default when readers are not hovering over them. This low-contrast default can make the buttons harder to notice, reducing the likelihood that readers engage with them. You can override the default button colors using a CSS snippet to make them more visible, match your brand colors, or create a clearer visual distinction between the positive and negative feedback options.

---

## When to use this

Use this customization when you want to:

- Make feedback buttons more prominent so readers are more likely to interact with them.
- Apply brand colors to the Yes and No buttons to create a consistent visual experience.
- Differentiate the Yes and No buttons with distinct colors, for example, green for Yes and red for No, to reinforce their meaning at a glance.

---

## Before you begin

- You need access to **Settings** (

) > **Knowledge base site** > **Site customization** > **Custom CSS & JavaScript** in the Knowledge base portal.
- Have your desired HEX color codes ready before you start. The default snippet uses `#5ebf83` (green) for Yes and `#e67367` (red/orange) for No.

---

## How to change the default feedback button color

1. Navigate to **Settings** (

) > **Knowledge base site** > **Site customization** > **Custom CSS & JavaScript** in the Knowledge base portal.

![Custom CSS and JavaScript settings panel in the Document360 Knowledge base portal](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/Custom%20css%20&amp;%20js.png)
2. From the left navigation pane, select the **CSS** tab and paste the following snippet:

```
.article-feedback-action{
  button[aria-label="Yes"]{
    background-color: #5ebf83;
    color: white;
  }
  button[aria-label="No"]{
    background-color: #e67367;
    color: white;
  }
}
```

1. Update the color codes to your desired values.
2. Click **Save**.

![CSS tab showing the feedback button color snippet saved in the Custom CSS and JavaScript panel](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/image-1767002457678.png)

---

## Outcome

**Before**

The feedback buttons appear grey when readers are not hovering over them, making them easy to miss.

![Feedback buttons showing the default grey color before applying the CSS](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/2_Screenshot-Color_of_feedback_button_before_applying_CSS.png)

**After**

After applying the CSS, the feedback buttons display in the specified colors at all times, not just on hover.

![Feedback buttons showing custom green and red colors after applying the CSS](https://cdn.document360.io/860f9f88-412e-4570-8222-d5bf2f4b7dd1/Images/Documentation/3_Screenshot-Color_of_feedback_button_after_applying_CSS.png)

---

## Best practices

- **Keep Yes and No visually distinct.** Readers process color semantics quickly. Using green for Yes and red or orange for No follows established convention and reduces cognitive effort. Avoid using similar colors for both buttons.
- **Check contrast against your page background.** The button colors you choose should be legible against both Light and Dark mode backgrounds. Use a contrast checker to verify your choices meet WCAG AA standards (minimum 3:1 for UI components).
- **Test after saving.** Open an article on your knowledge base site and confirm the buttons display in the correct colours in both their default state and on hover.
