• Resolved adamovic

    (@adamovic)


    Hi,

    I’ve been using TablePress for some time now and everything worked great – thanks for an awesome plugin! ??

    Yesterday I noticed that horizontal scrolling doesn’t work for one table (only 1, it works fine on my other 13) and I’m not sure why. I double checked the settings of the table (I have Use DataTables checked and use horizontal scrolling checked – like on all other tables), cleared cache, checked the page with 2 phones but scrolling doesn’t work. What could be the issue?
    The only difference between this and all other tables is that this table has much fewer columns (it has 4 while other tables have 8 or 9).

    Thanks!

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

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This is caused by a JavaScript error on your site, caused by some “lazySizes” script or feature. Due to this, the TablePress JS features are not executed by the browser.

    You should therefore fix that problem with “lazySizes”.

    Note that there’s also another way to achieve horizontal scrolling, without JavaScript: https://tablepress.org/extensions/responsive-tables/ offers a scroll mode that you could use instead.

    Regards,
    Tobias

    Thread Starter adamovic

    (@adamovic)

    Hi @tobiasbg,

    thank you for your reply. I got rid of the “lazySizes” error, which was caused by another plugin but the issue is still there. It is strange to me that this is the only table which doesn’t respond to horizontal scrolling when I have multiple tables with almost the same data and the same settings.

    Thanks,
    Adam

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ok, this is caused by the CSS in Elementor, I think. Please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .elementor-1993 .elementor-element.elementor-element-b809770 {
      max-width: 100% !important;
    }

    Regards,
    Tobias

    Thread Starter adamovic

    (@adamovic)

    @tobiasbg, you are one of a kind ??

    Works like a charm, thank you very much!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Horizontal scrolling doesn’t work on mobile’ is closed to new replies.