How we can change losant table header bg color and text color?

I am writing the below code in custom section of pages , but it is not reflecting in site
.ReactVirtualized__Table__headerRow {


Testing this, I was able to get it to apply the style if I added an !important to the end of the declaration. This is necessary because the element you are trying to apply the custom style to has its background-color as an inline style, which has a higher specificity over styles applied by any other method - unless you use the !important rule.

Thank you for the solution.