How to add Line Breaks and make Columns smaller in variations table

If attribute columns for example are too long and there is no line break, please add this custom CSS:

#variations-table-header-at {
	width: 100px !important;
	max-width: 100px !important;
}

table.dataTable.nowrap th, table.dataTable.nowrap td {
	white-space: normal;
}

4 thoughts on “How to add Line Breaks and make Columns smaller in variations table

  1. Ngô Quốc Vinh says:

    Hi
    I have added that code and modify the width pixel. However, It doesn’t work
    Can you check again
    Thank

Leave a Reply

Your email address will not be published.