Support » Plugin: TablePress » Making table mobile friendly – as table!

  • Resolved matlas44

    (@matlas44)


    Hello,
    I have Tablepress installed, and now I have also installed the Tablepress Responsive Tables extension. I would like for my table (in the “Curriculum” accordion) to show like a table in mobile. Right now, all of my tables convert into a list form that is not suitable for my site. Please advise how I can make the table appear as a table in mobile.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This layout change is caused by the “Magic Liquidizer Responsive Table” plugin that you have installed. If you deactivate that, the table should remain a table on small screens.

    Regards,
    Tobias

    Thread Starter matlas44

    (@matlas44)

    Thanks Tobia!

    I tried deactivating the “Magic Liquidizer Responsive Table” plugin (temporarily – had to change it back because it affects all my tables on the site) and checked out the table in the page in question in mobile – it is still too wide for the screen. I followed the instructions on this page: https://tablepress.org/extensions/responsive-tables/
    I tried to make the table “flip” that messed up the whole table (portions were missing, and other sections of the page were then on the same line as the table, etc). I also tried to make it “scroll” which was a bit better – it was still too wide but I liked that at least a user could scroll from side to side – however, the table still went over the screen size and the words spilled over into the next line. How can I make the text of the tables shrink on mobile devices? (That is, all mobile/tablet devices). And how can I get the entire table to fit in the screen (again, all mobile/tablet devices)?

    Thanks!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    the scroll mode of the Extension is your best chance here. Please turn that on again. It will however only work if you turn off “Magic Liquidizer Responsive Table” entirely or at least for this table (if they allow that).

    Regards,
    Tobias

    This app is needlessly cumbersome and a waste of my time. Have you ever heard of cut and paste and WYSIWYG? No thanks, you can keep it

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi @oregondoglife,

    thanks for your honest review! I would be more than happy to help with any issues! Please see my reply at https://wordpress.org/support/topic/waste-of-time-140/

    Thanks!
    Tobias

    Thread Starter matlas44

    (@matlas44)

    Hi Tobias!

    Thanks for your help.
    I was able to work it out so I could deactivate the Magic Liquidizer for the website. Now I have two issues.

    1. I put the calendar in scroll mode on this page: overseas.huji.ac.il/nepal but on a mobile device you can only see the scroll bar once you reach the bottom of the table – so if the table is longer than the screen, then the user won’t see the scroll bar and may believe that the table is cut off – is there a way to fix this?

    2. I have MANY Tablepress tables throughout my site (about 140). Is there a way to implement [table id=123 responsive=scroll /] on all my Tablepress tables throughout my site without having to comb through each one? Some of my Tablepress tables appear in multiple places throughout the website, which means I have more than 140 tables to adjust!

    Thanks!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    1. No, sorry, I don’t know a way to fix that problem of over-long tables. However, the scrolling with touch and drag should work even without being at the bottom of the table.

    2. Yes, you can turn on the scroll mode for ALL TablePress tables on the site as the default. For that, you will have to edit the /wp-content/plugins/tablepress-responsive-tables/tablepress-responsive-tables.php file and change line 105 from

    $default_atts['responsive'] = '';
    

    to

    $default_atts['responsive'] = 'scroll';
    

    Regards,
    Tobias

    Thread Starter matlas44

    (@matlas44)

    Can I do that from the plugin options within Tablepress? If so, how? I have a bunch of tables in there with different customizations (width, placement, etc.).

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no, you will have to modify the PHP file, either via the “Plugins” -> “Editor” function or via FTP.

    All this has nothing to do with other adjustments like width, placement, etc. For those, you can use “Custom CSS” code.

    Regards,
    Tobias

    Thread Starter matlas44

    (@matlas44)

    Thanks! I think I succeeded.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    great! That’s good to hear!

    Best wishes,
    Tobias

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Making table mobile friendly – as table!’ is closed to new replies.