Digital Sovereignty for everyone

LH Scrollable Tables

LH Scrollable Tables stops wide tables from breaking the page layout on small screens. Each table in post content is wrapped in a container that scrolls sideways when the table is wider than the space it has, so the rest of the page stays the right width and the whole table can still be read on a phone.

Key features

  • Works on any table in post content, whether written by hand, produced by a shortcode or added by another plugin, in classic and block themes.
  • Tables nested inside a table cell are left alone, and a table is never wrapped twice.
  • Only the page body is changed: content prepared for the page head, such as excerpts used in meta tags, is untouched, and pages without a table are skipped.
  • No settings: the plugin works as soon as it is activated. Style the wrapper further with the lh_scrollable_tables-wrapper class.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.