-
Print
-
DarkLight
-
PDF
How to change the color of the table header?
You would want to change the table header color to increase the visibility of the header row. Follow the below steps to change the table header color across the knowledge base.
Solution
- Go to Settings → Knowledge base site → Custom CSS & JavaScript, and Custom CSS tab is the default selection
- Paste the below snippet in the window
table th{
background: #70db70;
}
- Update the color as per your requirement
In the above sample code, the color code is added as #70db70
. You can change the color code as per your requirement.
- Click Save
Outcome
Before
By default, the table header appears as below.
After
After configuring a custom CSS, the table header color is changed to green (#70db70
).
Was this article helpful?