custom style alignment of some field titles

Hi, I want to ask,
I read on the forum about alignment header table captions and tried the css below, but the result is that all tables are centered.
my example has fields :
product_name | qty | price | amount.i want to make table header qty = center; price and amount = right.
how to select each field to create a style? (not all fields in, only some fields)

.ew-table-header-btn{
text-align: center;
}
.ew-table-header-caption{
text-align: center;
}
.ew-table-header-cell{
text-align: center;
}

You may Inspect HTML element and add your own CSS styles.

I’ve got the class in the css, but when I edit the ew-table-header-cell class by adding text-align:center; all header fields in the middle?
can help with the solution

You need to find out the more specific the css class or id selector or another element’s attributes so that you may customize to your desired target.

You may want to try :nth-of-type().

Thanks All, Solved

.ew-table-header .jobdescription_mas_revision_no,
.ew-table-header .jobdescription_mas_revision_date,
.ew-table-header .jobdescription_mas_file{
	text-align:center;
}