Hi,
thanks for your post, and sorry for the trouble.
Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!
Regards,
Tobias
Thread Starter
nowton
(@nowton)
http://jaarrekening2013.retjaarverslag.nl/, scroll to ‘Vennootschappelijke balans per 31 december 2013’ (under ‘Jaarrekening’). I’ve set it to responsive=all for that table. This is just the demo location, so I’m aware the rest of this site is not responsive (yet). Thanks in advance.
Thread Starter
nowton
(@nowton)
From a local test I can now tell it does add css classes to the table, but it doesn’t load the plugin’s css files.
Hi,
indeed, the CSS files for TablePress are not loaded. Have you maybe turned off the loading of the files with some PHP hook, e.g. in the theme’s “functions.php”?
Regards,
Tobias
Thread Starter
nowton
(@nowton)
Oops, as a matter of fact I found add_filter( 'tablepress_use_default_css', '__return_false' );
because we need our own css. Uncommenting fixed the display. How can I combine those 2 requirements?
Hi,
ok, that’s what I had thought 🙂
In that case, the easiest solution probably is to copy the CSS code from the Responsive Tables Extension into your own CSS file as well.
Now, due to the structure of your table, you’ll then probably still not be satisfied. If that is the case, an alternative could be to use the approach from https://wordpress.org/support/topic/responsive-tables-scroll-only?replies=6#post-5511954 instead of the Extension.
Regards,
Tobias