Hi,
thanks for your post, and sorry for the trouble.
The reason for this is that this table is using the features of the DataTables JS library. Due to that, some more explicit code is necessary:
.dataTables_wrapper .tablepress-table-centered {
width: auto;
margin: 0 auto 1em !important;
}
Regards,
Tobias
Thanks Tobias. Does this code go into the Plug-In options or the CSS Class area?
Hi,
this goes into the “Custom CSS” text area on the “Plugin Options” screen, where it should replace the code that you posted above.
Regards,
Tobias
Hi Tobias,
Thanks for the code suggestion. However, this is changed the width of other tables on other pages. It has extended them back to the width of the container.
http://texanscap.com/arian-foster-salary-cap-page/
The first table (player contract details) was narrow, but after the above code change it back to extending the width of the container. I was hoping to get it narrow like before.
Troy
Hi,
ok, then please use
.tablepress-table-centered,
.dataTables_wrapper .tablepress-table-centered {
width: auto;
margin: 0 auto 1em !important;
}
Regards,
Tobias
Thanks Tobias, looks like that cleaned it up.
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias