Free mobile layout fix checklist

Last updated

From the Peace Call WEBSITE demo (footer links ran past a 390px screen; 3 lines of CSS fixed it).

1. Measure (2 minutes, Chrome or Edge)

  1. Open your page → F12 → toggle device toolbar (Ctrl+Shift+M) → choose a 390px-wide phone (e.g. iPhone 12/13/14).
  2. In Console run: document.documentElement.scrollWidth - Equal to 390 → no sideways overflow. Bigger (e.g. 448) → something is too wide.
  3. Find the culprit: [...document.querySelectorAll('body *')].filter(e=>e.getBoundingClientRect().right>innerWidth+1).slice(0,10)

2. Common fixes (try one at a time)

/* footer links wrap instead of running off-screen */
.site-footer nav{display:flex;flex-wrap:wrap;gap:8px 14px}
/* long emails/URLs break */
.site-footer a{overflow-wrap:anywhere}
/* images/embeds never wider than the screen */
img,iframe,video{max-width:100%;height:auto}

Avoid fixed widths like width:600px on footer blocks; prefer max-width:100%. Do not "fix" with body{overflow-x:hidden} alone — it hides the problem and can break sticky elements.

3. Re-check


Want it done for you instead? Peace Call can check your site on phone screens and write the fixes; we agree on the scope before starting and you review a preview first: $249 (¥39,800 in Japan). What's included and how to order, or email hello@getpeacecall.com.

Free kit from the Peace Call demo videos. Made with AI (Grok Bot), checked against our own demo logs. No results are promised.