• Resolved lukethornley

    (@lukethornley)


    Hi hoping you can help – I’m trying to get horizontal scroll to work on a table on my site on the page linked. The issue I’m having is the table is too big to display on mobile. I’ve enabled horizontal scroll in the table options to try and fix it but it doesn’t seem to be working at all

    Any help you can give would be much appreciated

    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 post, and sorry for the trouble.

    Unfortunately, you will not be able to use this particular “Horizontal Scrolling” feature with this table. The feature uses JavaScript code, which requires that there are no merged/combined cells in the table. This table does however have four combined cells in the first column.

    If you want to use this Horizontal Scrolling, you would have to un-merge these cells.

    Alternatively, if that’s an option for your organization, there’s a TablePress Pro version (see https://tablepress.org/premium/ ) which also contains another implementation of Horizontal Scrolling (one without JavaScript, which thus does not have this limitation, see https://tablepress.org/modules/responsive-tables/ ). For more on that, please get in touch by email (the address is on https://tablepress.org/impressum/ ).

    Regards,
    Tobias

    Hi Tobias, I have the same problem.
    I have two tables. Table 9 with a lot of columns works. Table 29 has only two columns but will not scroll horizontally on the iPhone, whatever I do with the CSS, in none of the browsers. Help with your great plug-in is highly appreciated. regards Marcel.
    https://www.studiodagny.nl/koorweek-a/

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    essentially, table 29 is not scrolling horizontally because it doesn’t have to. The browser can shrink its width sufficiently, so that the table doesn’t overflow.

    If you want to force that, you could increase the minimum column width, e.g. by adding this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-29 .column-1 {
      min-width: 250px;
    }

    Regards,
    Tobias

    The min-width was unknown to me.
    Problem solved, now I can fine-tune the column width, thanks !!

    .tablepress-id-29 .column-1 {
    min-width: 450px;
    }

    .tablepress-id-29 .column-2 {
    min-width: 230px;
    }

    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 Scroll on Mobile’ is closed to new replies.