{"id":14927164,"date":"2021-10-01T06:25:41","date_gmt":"2021-10-01T06:25:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/reduce-table-size\/"},"modified":"2021-10-01T06:25:41","modified_gmt":"2021-10-01T06:25:41","slug":"reduce-table-size","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/reduce-table-size\/","title":{"rendered":"Reduce table size"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>I am a new user of TablePress and found it straight forward to use. Except I got stuck with reducing the width of a table. <\/p>\n<p>I have tried to reduce the width of the table with this code:<\/p>\n<p>.postid-7964 .tablepress td {<br \/>\n  width: 20%;<br \/>\n}<\/p>\n<p>Then I tried to reduce the width of each column separately with this code:<\/p>\n<pre><code>.tablepress-id-2 .column-1 {\n\twidth: 20%;\n}\n\n.tablepress-id-2 .column-2 {\n\twidth: 20%;\n}\n\n.tablepress-id-2 .column-3 {\n\twidth: 20%;\n}<\/code><\/pre>\n<p>Neither worked.<\/p>\n<p>Also, I have tried going through the FAQs and the previous posts. But none of the CSS codes worked for me. <\/p>\n<p>Many thanks,<\/p>\n<p>Pam<\/p>\n","protected":false},"template":"","class_list":["post-14927164","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14927164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14927164\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14927164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}