Change column alignment in Table Block does not change alignment

Hi

Please paste the following CSS in Appearance -> Customize ->Additional CSS

td.has-text-align-right {
    text-align: right !important;
}

th.has-text-align-right {
    text-align: right !important;
}

I hope it will fix your issue.

Moderator
Jan Dembowski

(@jdembowski)

Forum Moderator and Brute Squad

@toweringskills Please do not create duplicate topics. I have archived your other one.

MX

(@toweringskills)

Prashant,
Wow! Just like magic. Columns and header align perfectly.
Thank you.

If WordPress provides table column alignment as normal selection, why was this CSS code missing from standard WP code?

Jan,
Thanks for deleting duplicate post. I was afraid I lost internet connect and first submission did not go through.



Source link