Hi,
thanks for your post, and sorry for the trouble.
I’m not sure that I understand. Where exactly is your TablePress table and what is not working with it?
Regards,
Tobias
Thank you so much for your quick response!
I am sorry to make you confuse.
I try to explain in this image. Can you help?
https://drive.google.com/file/d/1856oemUSaOqOrzUGxYz02GkKwOooVFoV/view?usp=sharing
Thank you so much!
Hi,
thanks for the link!
Okay, I see. If you would create this table with TablePress, it will be stretched to full width automatically 🙂 The table on the left side of your image was not created with TablePress, but with the block editor of WordPress. You should create it with TablePress instead.
Regards,
Tobias
Thank your for your check!
I did with TablePress. It was still the same problem.
The table was not stretched full width automatically.
Link: https://drive.google.com/file/d/1UnPZ2bLlu2PCioS1BQwdXcSY_SbIJ98U/view?usp=sharing
Can you help me one more time?
I am sorry for any inconvenience for you!
Best regards,
Loc
Hi,
ok, can you then please also add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:
.entry-content .tablepress {
width: 100%;
}
Regards,
Tobias
WOW, It works.
I appreciate your helps.
Thank you so much!!!
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!
Hi,
I am so sorry to bother you again!
I realized that The table is ok if I use preview mode.
When I publish the post, the problem is the same.
(I checked and kept the same your code above to make width 100%)
Can you check this link? only 1 table.
https://ngoloc.com/ma-buu-chinh/
Thank you in advance!
Loc
Hi,
please try adding this “Custom CSS”:
.tablepress {
width: 100% !important;
}
Please also clear the cache of your CSS/JS caching plugin then.
Regards,
Tobias
Hi,
It works perfectly.
Thank you for your help!
Have a nice day. 🙂
Regards,
Loc
Hi,
great! Thanks for the confirmation!
Best wishes,
Tobias