In short
Ahrefs flags "Content is not sized correctly" when a page's content is wider than the mobile viewport, so users have to scroll or zoom horizontally. It's a mobile usability problem rather than a direct ranking factor. It usually comes from one oversized element: a fixed-width image, table, iframe or container. Find it with your browser's mobile view and constrain it with CSS.
If a visitor on a phone can scroll the page sideways, something on it is wider than the screen. That's what this issue catches.
Why it matters
Most visitors to small-business sites browse on phones. Sideways scrolling makes text hard to read and buttons easy to miss, and people leave. Google's mobile usability checks have been simplified over the years. Lighthouse, for example, moved several mobile audits out of its SEO category in 2024. But the user problem is the same.
How to find the element that overflows
Open the page in Chrome, press F12, and switch on device mode (the phone icon). Choose a common phone width, such as 375px.
Scroll right. If the page moves, something is too wide.
In the Console, paste this to list elements wider than the screen:
document.querySelectorAll('*').forEach(el => {
if (el.scrollWidth > document.documentElement.clientWidth) console.log(el);
});Free SEO audit
Not sure which issues matter on your site?
I'll review your site and send you the fixes that matter most, in plain English.
Common causes and fixes
| Cause | CSS fix |
|---|---|
Images with fixed widths (width="1200") |
img { max-width: 100%; height: auto; } |
| Wide tables | Wrap them: .table-wrap { overflow-x: auto; } |
| Embedded videos or maps (iframes) | iframe { max-width: 100%; } or an aspect-ratio wrapper |
Containers with width: 1200px |
Use max-width: 1200px; width: 100%; |
| Long unbroken text (URLs, code) | overflow-wrap: anywhere; |
Elements using 100vw plus padding |
Use 100% instead of 100vw inside padded containers |
Platform tips
WordPress: most modern themes are responsive. The usual culprits are page-builder sections with fixed widths, embedded tables and old shortcodes. Fix them in the block's settings, or add the CSS above in Appearance > Customize > Additional CSS (classic themes) or in your theme's custom CSS.
Shopify: check custom sections and apps that inject fixed-width widgets. Add fixes in the theme's CSS file.
Webflow: set elements to max-width rather than fixed widths, and check each breakpoint in the Designer.
Wix: check the mobile editor view separately, because elements can sit outside the mobile frame.
Custom builds: add a global rule for media (img, video, iframe { max-width: 100%; }) and test at 320px and 375px wide in your build checks.
Common mistakes
Hiding the overflow on the body (
overflow-x: hidden) instead of fixing the element. Content may get cut off, and some sticky elements break.Only testing at one width. Check small phones (320px) as well as common ones.
Forgetting the viewport tag. Without it, the whole page renders at desktop width. See "Viewport not set".
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Lighthouse release notes, SEO category changes (2024)
Google Search Central, Mobile site and mobile-first indexing best practices

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



