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.


here's your code to use: 

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


got this code from


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?



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;

Please please please.

I agree!