WordPress Table Block offers two table style options – Default (automatic size) and Fixed width table cells.
In Default table style your table column size is sets automatically based on cell content. And, in the Fixed width style, all cells get the same size in the table.
Why Is WordPress Table Block Column Width Change Required?
In most cases, WordPress users use default table style with Table Block. But, in some cases, based on table content, users need to change table column size based on itโs content.
For example, Table Block has three columns – Index, Title and Description. Here, users want to make the โIndexโ and โTitleโ column smaller compared to the โDescriptionโ column.
But, this type of column size customization setting is not available in WordPress Table Block.
Now, to solve this issue, you will get two solutions in this post. By using these solutions, you can change Table Block column width without using any plugins.
Change WordPress Table Block Column Width Using Additional CSS
In the Additional CSS solution, you need to set โAdditional CSS class(es)โ in Table Block โAdvancedโ setting.
Following are steps to add additional CSS for changing Table Block column width.
- Create and complete your table using Table Block.
- Now, Go to โAdvanced > Additional CSS class(es)โ setting and add the class name โcustom-column-tableโ.
- Open the โAppearance > Customize > Additional CSSโ setting in the new tab.
- Add the following code in โAdditional CSSโ and click the publish button.
.custom-column-table tr>th:nth-child(1) { width: 10%; }


Understand Block Table column CSS code:
Above code set style for your table headerโs first column. Here, โnth-child(1)โ means the first table head in a row.
If you set โnth-child(2)โ, then style will apply for the second table head in row.
And, โwidth: 10%;โ means, set a particular cell element width 10% of the whole table. You can change this value 10% to 15% or more, as per your content size.
Based on the above CSS code info, you can manage any column width in Block Table.
Can i Use this CSS class in all postโs Block tables?
Yes, by adding class name in Blockโs โAdditional CSS class(es)โ setting, you can use this class for multiple Block Tables.
But, if you want to apply a different style for a new table, then create a new class in โAppearance > Customize > Additional CSSโ with a different name and use that class for the new table.
For example,
.custom-column-table-price tr>th:nth-child(3) { width: 40%; }
Change WordPress Table Block Column Width Using Convert to HTML option
In this method, you need to add inline table cell width and convert the block to custom HTML block.
Following are steps to make Table Block to Custom HTML block.
1. Create and complete your table using Table Block.
2. Click the three dots icon to open Block โOptionsโ.
3. From the options list, choose โEdit as HTMLโ option.
4. Now, set inline [width=โ10%โ ] to your cell in the first row (Example given in below image).

5. Next, click outside of Table Block to open the โAttempt Block Recoveryโ process.

6. Here click three dot icon option and choose โConvert to HTMLโ.
7. Check post preview and publish change.
This solution required little knowledge of HTML table syntax. But, by following the above steps, you can easily implement in your blog.
In above steps, example given to change the second column width.
But, if you want to change another column width, then you need to add [width=โ10%โ ] code in that number of cell in first table row.
For example, to change the second column width, you need to add code in second cell in first row.
Thatโs it,
Hope you found solutions helpful.