Tables not showing on the frontend

Posted in: Newspaper
Post count: 4

Hi,
Please i have an article with tables in it. But when i post the article it doesn’t show the table after it is published. I installed table press but found out tablepress is not very responsive on mobile.
Can the TagDiv team work on an update that will make table work properly with the theme?

Link to the article with tables in it:
http://www.techcityng.com/iphone-6-and-iphone-6-plus-vs-samsung-galaxy-s5-htc-one-m8/

  • This topic was modified 11 years by olawalea.
Post count: 9544

tables are not responsive in normal HTML, nor in themes based on Bootstrap 2.

Bootstrap 3 introduces a class for responsive tables which basically puts a pseudo iframe on the table so that when it gets too narrow to collapse any further, it adds a slider so somebody can slide to the right to see the whole table.

There is some custom code to do this with Bootstrap 2, which one of my guys came up with, and we use on our main business site (not running WP, but based on Bootstrap 2), and works, but have not tried to clone that to a WP site (yet).

Suggestion: if you were expert at code, you could likely copy the table elements from the Bootstrap 3 CSS and add to your styles CSS at bottom, then “try” using those new classes for your post to see if they work or not.

I am not sure if the new table classes from BS3 are in this theme or not, so Marius or Lucian would need to say yay or nay on this.

However, even then the class requires a custom hack for pesky Firefox which somehow continues to be less compatible with the “new web” lately than IE11 or Chrome.

But some anecdotal info here:
http://getbootstrap.com/css/#tables

Post count: 4

Thanks Christopher.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.