Hi,
thanks for your post, and sorry for the trouble.
This wrapper div is always present if the “Table Features for Site Visitors” are enabled and in use for a site. Maybe that’s not the case for one of your tables?
Regards,
Tobias
This was my one initial thought as a possible reason, as the table with the wrapper div had the “Offer the following functions for site visitors” box checked and the other didn’t. Now having changed the second table to have the same settings as the first, it still doesn’t have a wrapper div.
The table that doesn’t have the wrapper div does have #rowspan# – could that cause a problem?
*Edit* when I add the functions for site visitors, they don’t actually appear on the page, even with a hard refresh.
- This reply was modified 6 hours, 32 minutes ago by gomez77.
- This reply was modified 6 hours, 29 minutes ago by gomez77.
Hi,
thanks for the confirmation! It’s indeed the #rowspan# that’s the culprit here: The features for site visitors require that a table does not have any connected/combined cells, which means that #rowspan# can not be used then. If it is used, the features are automatically turned off. This is why the table then doesn’t have that wrapper div.
You would therefore either have to add a wrapper div around the table block or Shortcode manually, or use the scroll mode of the mentioned Responsive Tables feature module of the TablePress premium versions. This can add horizontal scrolling even for tables that use #rowspan#.
Regards,
Tobias
Ok, that makes sense. Thanks for your replies – I appreciate you taking the time to help me.
Hi,
sure, no problem! I hope that you can find a good solution for your tables!
Best wishes,
Tobias
