# Perspective Table Header not completely changing color

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-header-not-completely-changing-color/107099>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [June 5, 2025, 5:39pm UTC](https://forum.inductiveautomation.com/t/perspective-table-header-not-completely-changing-color/107099 "2025-06-05T17:39:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@Jack2](https://forum.inductiveautomation.com/u/Jack2)\
**Post date:** [June 5, 2025, 5:39pm UTC](https://forum.inductiveautomation.com/t/perspective-table-header-not-completely-changing-color/107099/1 "2025-06-05T17:39:46Z")

</div>

![Screenshot 2025-06-05 133722](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/2/920b7c0f1a8ff8595bd6230d16a33496fefd8a72.png)

 ![Screenshot 2025-06-05 133800](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/e/4ead600de0661a07bc3fcf21d6a9d35afa3e94c8.png)

Hi all,

I have a table component, where I changed the background color manually, but the white background I highlighted still shows up. What exactly do I need to do to get rid of this bar ?  
Thank you.

---

<div class="post-metadata">

**Author:** ![simeonw](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@simeonw](https://forum.inductiveautomation.com/u/simeonw)\
**Post date:** [June 5, 2025, 5:49pm UTC](https://forum.inductiveautomation.com/t/perspective-table-header-not-completely-changing-color/107099/2 "2025-06-05T17:49:20Z")

</div>

It might be because the styling is on the header of each column rather than the parent header row of the table.

Make sure at at least one of your columns is set to grow to occupy the unused space (not strictWidth).

---

<div class="post-metadata">

**Author:** ![Jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@Jack2](https://forum.inductiveautomation.com/u/Jack2)\
**Post date:** [June 5, 2025, 5:52pm UTC](https://forum.inductiveautomation.com/t/perspective-table-header-not-completely-changing-color/107099/3 "2025-06-05T17:52:38Z")

</div>

Changing strictwidth to Off for one column did fix it. Is there a way to change style on parent header row ?

---

<div class="post-metadata">

**Author:** ![simeonw](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@simeonw](https://forum.inductiveautomation.com/u/simeonw)\
**Post date:** [June 5, 2025, 6:10pm UTC](https://forum.inductiveautomation.com/t/perspective-table-header-not-completely-changing-color/107099/4 "2025-06-05T18:10:55Z")

</div>

I'm not sure that there is a way within the usual property editor. Someone may be able to correct me on this.

However, the header colour comes from the theme (i.e. light.css), so you can either update it there, or you can override the theme using the custom stylesheet:

```python
ia_table__headContainer,
.ia_table__footContainer {
    background-color: red !important;
}

```

This will apply to all tables in your project. If you want to limit it to certain tables, create a dummy style class (i.e. **styledTable** ) and it to your table(s):

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/b/3b3437a0fc278de0958979d360d0c550c7e5a742.png)

Then update your custom stylesheet like so. Note the **psc** prefix for the style class

```python
.psc-styledTable .ia_table__headContainer,
.ia_table__footContainer {
    background-color: red !important;
}

```

As a side note, the browser developer tools (F12 in Edge and Chrome) are really good for identifying how components are getting their styles:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/e/ce09e3a8b7889f89dc76825ac6a89357b5ec75b4.png)
