# Css to change the color of background and font of the group headers in tables in Nextgen

**URL:** <https://forums.knack.com/t/css-to-change-the-color-of-background-and-font-of-the-group-headers-in-tables-in-nextgen/20580>\
**Category:** Ask Developers\
**Created:** [October 1, 2026, 3:32pm UTC](https://forums.knack.com/t/css-to-change-the-color-of-background-and-font-of-the-group-headers-in-tables-in-nextgen/20580 "2026-10-01T15:32:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angie](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Angie](https://forums.knack.com/u/Angie)\
**Post date:** [October 1, 2026, 3:32pm UTC](https://forums.knack.com/t/css-to-change-the-color-of-background-and-font-of-the-group-headers-in-tables-in-nextgen/20580/1 "2026-10-01T15:32:59Z")

</div>

I have the css I have used in the past with the classic builder to change the color of the background and font of group headers in table views but cannot seem to get it to work in Nextgen. This is the code I used in classic builder:

#view\_XXX tr.kn-table-group.kn-group-level-1 \> td:nth-child(1){

```
      background-color:#848484;

  color: white !Important;

}

```
