Fix Table Column Header Justification

When I set the justification (left, center, right) of a column in a table, the header for that column stays left-justified and ignores the setting. The column header should have the same justification as the column.

See attached screenshot.

114220877112

here's your code to use: 

#view_# th { text-align: center; }

 

got this code from https://www.knack.com/developer-documentation/#hide-specific-address-inputs

Evening,


I have tried using the code above but they are still not matching the data. Is it a case of just simply copying the code into the CSS box?

Thanks

 

Agreed. I can't understand the scenario where you would want the header to have a different alignment than the content.

You can do it with this code in the CSS editor:

 

th span {
margin: auto !important;
}
1 Like

Please please please.

I agree!