Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Tables overflow on mobile: how to find and fix it

PRF-173Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A table overflows on mobile when its content is wider than the screen. Tables size themselves to fit their cells, and cells with long text, many columns or fixed widths can push the table past the edge of a 360 to 430 px wide phone.

The result is one of two things. Either the table is clipped and the right-hand columns cannot be reached, or the whole page gains a sideways scroll and every other element looks shifted. Common places: pricing comparisons, plan feature lists, size charts, shipping rate tables and spec sheets.

Why it costs you leads or sales

Tables usually hold the facts a visitor needs to decide: price, what is included, delivery cost, sizes. If the key column is off screen, people cannot compare options and may leave rather than hunt for it. The impact is rated low because it affects pages with tables, not the whole site, but on a pricing or size chart page it sits right next to the buying decision.

Where a clipped pricing table breaks the journey
  1. Lands on pricing pagePage loads fine on the phone
  2. Opens comparison tableRight-hand plan columns are cut off
  3. Compares plansCannot see the price or features
  4. Clicks signup or buyNever reached

The visitor cannot see the column with the price they want, so the later steps never happen.

Visitors who reach the plan buttonsExample numbers
Visitors who reach the plan buttons (example)Table clipped: 18 %; Table readable: 30 %012231830Table clippedTable readable%

Example: illustrative numbers showing how a clipped table could reduce clicks on plan buttons compared with a readable one.

How to check if your site has it

Check your tables on a phone width
  1. Open the page in browser dev tools

    In Chrome, press F12, then the device toolbar icon (Ctrl+Shift+M or Cmd+Shift+M). Choose a phone such as 360 px wide.

  2. Look for sideways scroll

    Scroll the page. If it moves left and right, something is too wide. Check whether a table is the cause.

  3. Find the culprit in the console

    Paste the snippet below into the console to list tables wider than the screen.

  4. Repeat at 320 px and 430 px

    Small phones overflow first. Also test a tablet width, and a real phone if you can.

List tables wider than the viewportjavascript
[...document.querySelectorAll('table')].filter(t => t.getBoundingClientRect().width > document.documentElement.clientWidth).forEach(t => console.log('Overflowing table:', t));

How to fix it

There are two good patterns. Horizontal scroll keeps the table as is and lets the visitor swipe sideways inside a box. Stacked rows turn each row into a small card, which suits tables with few columns. Pick scroll for large comparison grids and stacking for simple lists.

Pattern 1: scroll wrapperhtml
<div class="table-scroll">
  <table>...</table>
</div>

<style>
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.table-scroll table {
  min-width: 600px;
}
</style>
Pattern 2: stacked rows on small screenscss
@media (max-width: 600px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; left: -9999px; }
  tr { margin-bottom: 1rem; border: 1px solid #ddd; }
  td::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
  }
}
/* Add data-label="Price" etc. to each <td> in your HTML */
Apply it on your platform
  1. Use a block wrapper

    In the block editor, select the Table block, open Advanced and add a CSS class such as table-scroll. Add the scroll CSS under Appearance > Customize > Additional CSS. Some themes already style Table blocks, so check first.

  2. Tables from plugins

    If a table plugin builds the table, look for its responsive or scroll mode in its settings.

Pricing table on a 360 px phone

Before

  • Third and fourth plan columns are cut off
  • The page scrolls sideways
  • Buy buttons sit off screen

After

  • Table sits in a swipeable box with the first column fixed
  • The page itself no longer scrolls sideways
  • Every plan and button is reachable

How to confirm it's fixed

Confirmation checks
  • At 320, 360 and 430 px the page does not scroll sideways
  • Every column is reachable, by swiping inside the table or by reading stacked rows
  • The console snippet lists no overflowing tables
  • Text in the table is still readable without zooming
  • You tested on at least one real iPhone or Android phone

How to prevent it happening again

Make the wrapper the default. Add one global CSS rule so every table in your content area scrolls safely, and add a phone-width check to your publishing routine for any page with a table. Keep tables lean: fewer columns, short headings and no fixed pixel widths on cells.

How FunnelGuard handles this

FunnelGuard does not check for overflowing tables yet. It is a possible future check. FunnelGuard does run your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, and tells you when a step breaks, so a table problem that blocks one of those steps could show up as a failed journey. It will not tell you that a table is wider than the screen.

To watch for this yourself, re-test key pages at phone widths after every theme, plugin or content change, using browser dev tools or a real device. A free read-only website audit is also available from FunnelGuard, and you can start with the Free plan (1 site, 2 journeys, daily checks, no card) to monitor your main funnels.

Questions people ask

Why is my table cut off on mobile?

The table's columns need more width than the phone screen provides, and the page or its container hides the extra. Wrap the table in a div with overflow-x: auto so visitors can swipe to the hidden columns.

How do I make a table scrollable on mobile?

Put the table inside a div and give that div overflow-x: auto and max-width: 100%. Set a min-width on the table itself so it keeps its layout and scrolls instead of squashing.

How do I make a table responsive without scrolling?

Use CSS to turn each row into a stacked block below a breakpoint such as 600px, with each cell showing its label from a data-label attribute. This works best for tables with few columns.

Why does my whole page scroll sideways because of a table?

A table wider than the viewport widens the page, so the browser adds horizontal scroll. Contain the table in a scroll wrapper so only the table scrolls, not the page.

How do I find which table is overflowing on my page?

Open dev tools at a phone width and run a short console script that lists tables wider than document.documentElement.clientWidth. You can also right-click the table and use Inspect to see its width.

Do I need a plugin to make tables responsive in WordPress?

Usually not. Add a CSS class to the Table block and a few lines of CSS under Additional CSS. A plugin only helps if you build complex tables there already.

Can FunnelGuard detect tables overflowing on mobile?

Not at the moment. It is a possible future check. FunnelGuard monitors journeys such as forms and checkouts, so test table layout by hand at phone widths.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.