Old plumbing website shrunk to tiny text on a phone, next to the rebuilt mobile-friendly version

When a website breaks on a phone, the cause is usually one of three things. The page may be missing its viewport tag, one element may be wider than the screen (often an image, a table, a video or a box with a fixed width), or the page builder's mobile settings were never adjusted. Open the page in Chrome's device toolbar, find the element that sticks out past the right edge, and give it a flexible width. Most fixes take a few lines of CSS or one setting in Elementor or Bricks.

You are not imagining it, and it is fixable

If you are reading this, you have probably seen one of these on your own site:

  • you can drag the page left and right, and there is an empty white strip down one side
  • a heading is so big that each word sits on its own line
  • the menu covers the whole screen, or does not open at all
  • the "Call us" button is tiny, or sits so close to another link that people tap the wrong one
  • the page looks fine on your phone, but a customer says it is broken on theirs

That last one is the most confusing, and it has a simple explanation, which comes later in this guide.

It is worth fixing soon. If your customers find you from a phone, the first thing they see is a page they have to pinch and drag, and many will go back and tap the next business in the results. Google also looks at the mobile version of your site now. It finished moving to mobile-first indexing in October 2023, which means it crawls and indexes the phone version of your pages. A section that is broken or hidden on mobile may be missing from Google too. (Source: Google Search Central, "Mobile-first indexing has landed", 31 Oct 2023.)

None of this means your website is a write-off. Most mobile problems come from a handful of causes, and you can find yours in a few minutes.

Step 1: See the problem the way your customers do

You need a laptop and about two minutes.

  1. Start with your own phone. Scroll the whole page slowly. Try to drag it sideways. Open the menu, tap the main buttons and start filling in the contact form. Write down exactly where it goes wrong.
  2. Then open Chrome's device toolbar on your laptop. Open the page in Chrome and press F12 (on a Mac, Cmd+Option+I). Then press Ctrl+Shift+M (Cmd+Shift+M on a Mac). The page now shows at phone size. Choose a narrow width such as 360 pixels, because that is where problems show up first.
  3. Run PageSpeed Insights. Go to pagespeed.web.dev, paste your address and look at the Mobile tab. It runs Google's Lighthouse check and points out text that is too small, tap targets that are too close together and content wider than the screen.

If an older guide tells you to use Google's Mobile-Friendly Test or the Mobile Usability report in Search Console, you will not find them. Google retired both in December 2023, and Lighthouse is the tool it points to now.

If the page drags sideways, find the element causing it

Sideways scrolling almost always means that one element is wider than the screen. Finding it by eye can take a long time. With the device toolbar still on, click the Console tab, paste the code below, and press Enter:

document.querySelectorAll('*').forEach(function (el) {
  if (el.getBoundingClientRect().right > document.documentElement.clientWidth) {
    console.log(el);
  }
});

You will get a list of every element that sticks out past the right edge. Hover over each line and Chrome highlights that element on the page. Skip html and body. The first real element in the list is usually the one causing the problem.

Step 2: Match what you see to the cause

Find the description that sounds like your page.

"Everything is tiny, like a desktop page shrunk down"

The page is probably missing its viewport tag. That one line tells phones to use the real screen width instead of pretending to be a desktop. Right-click the page, choose View page source, and look inside <head> for:

<meta name="viewport" content="width=device-width, initial-scale=1">

Nearly every WordPress theme from the last ten years adds this line for you. If yours does not, the theme is very old, and you may get more value from reading when to redesign a website than from patching it.

"One section is wider than the rest of the page"

A box with a fixed width is the usual cause, such as a container set to width: 1100px. It looks fine on a laptop and refuses to shrink on a 375px phone. Change it so it can shrink:

.my-box { width: 100%; max-width: 1100px; }

In Elementor or Bricks, select that section, look for a width set in pixels, and either change it to % or set a smaller value in the mobile view.

"A photo spills off the side, and the page is slow too"

Images need permission to shrink:

img { max-width: 100%; height: auto; }

If the page is also slow on mobile data, the photos are probably far bigger than they need to be. A photo straight from a phone camera can be 4000 pixels wide and several megabytes. Most website images display at well under 2000 pixels. Resize the photo to the size it really shows at with a free tool such as the IB NOVA image resizer, compress it, and upload it again.

"My price table, map or video breaks the page"

Tables, Google Maps embeds and YouTube videos often come with fixed widths baked in. For a table, wrap it so it scrolls inside its own box and the rest of the page stays still:

<div style="overflow-x:auto"><table>...</table></div>

For a map or video, set the embed to width: 100% and add aspect-ratio: 16 / 9 so the height follows the width.

"It was clearly designed on a laptop and nobody checked the phone view"

This is the most common cause on Elementor and Bricks sites. Both builders let you set different padding, font sizes and column layouts for each screen size. If nobody changed the mobile values, the desktop ones carry down. A 120px gap or a 64px heading that looks elegant on a big screen takes up the whole phone screen.

  • Elementor: click the device icon at the bottom of the left panel, choose Mobile, and go through each section, adjusting padding, margins, font sizes and column widths.
  • Bricks Builder: use the breakpoint switcher in the top bar and set values for the mobile breakpoints. Bricks applies the desktop values to smaller screens until you override them.

While you are there, check anything set to "hide on mobile". It feels like a quick fix, but those sections are hidden from your mobile visitors and possibly from Google as well.

"People keep tapping the wrong thing"

Buttons and links are too small or too close together. Body text under about 16px is also hard to read on a phone. The accessibility standard WCAG 2.2 sets a minimum tap target of 24 by 24 CSS pixels (success criterion 2.5.8). That is the minimum. Make the buttons that bring you work, such as "Call now" or "Get a quote", comfortably bigger.

"The menu is a mess"

On a phone, the menu should collapse into a single button, often called a hamburger icon. If the full desktop menu tries to squeeze in, items wrap, overlap or run off the screen. In Elementor's Nav Menu widget or Bricks' Nav Menu element, check the screen width at which the mobile menu turns on, and raise it if your menu has many items.

"A long email address or link pushes the page wider"

A long web address or email address is one unbroken string of characters, so the browser has no place to wrap it. One line of CSS lets it break:

p, li, a { overflow-wrap: anywhere; }

"It was fine last week"

If nothing in the design changed and the layout broke overnight, look at what did change. An update to a plugin, or an optimisation plugin that combines or delays CSS and JavaScript, can break a layout that was working. Clear the cache first. If that does not help, turn off the optimisation plugin's CSS options and check again. If you still cannot find it, our guide to WordPress plugin conflicts shows how to find the plugin responsible without taking your live site down.

"But it looks fine on my phone"

This one causes a lot of confused messages between business owners and their customers. Phones have different screen widths. A layout that just fits a 412px-wide phone can overflow on a 360px one, and a large font setting on someone's phone can push a tight layout over the edge. Your phone is one test. In the device toolbar, check 360px, 390px and a tablet width of 768px before you decide it is fine.

Fixes that make it worse

  • Hiding the broken section on mobile. Your phone visitors lose that content, and Google may lose it too. Fix the layout instead.
  • Shrinking the text until everything fits. The page then fits the screen, but nobody can read it. Stack the content into one column instead.
  • Forgetting the form. If a phone visitor cannot fill in your contact form, the rest of the page looking good does not help. Test it by sending yourself an enquiry from your phone.

When it is quicker to hand it over

If your problem matched one or two of the descriptions above, you can probably fix it in an afternoon. It is a different job if every page was built with fixed widths, if the theme has no real mobile layout, or if things break again after every update. IB NOVA's Fix & Refresh package covers phone layout problems, broken links, forms and images, and speed improvements on WordPress sites, at a fixed price. Send the address and a screenshot of what you are seeing, and you will know what is wrong before you pay for anything.

Questions

Does mobile friendliness affect Google rankings?

Google indexes the mobile version of your pages, so what appears on mobile is what Google judges. A page that works well on phones gives you a fair chance. A broken one can lose content from the index. No single fix guarantees a ranking.

Why does my site look fine on my phone but broken on someone else's?

Their screen is probably narrower than yours, or they use a larger text size. Test at 360px wide in Chrome's device toolbar to see what they see.

Can I make an old WordPress site mobile friendly without a redesign?

Often, yes, if the theme is responsive and the problems are in individual sections. If the theme has no mobile layout at all, rebuilding is usually cheaper than patching every page.

Is there still a Google Mobile-Friendly Test?

No. Google retired it in December 2023. Use Lighthouse in Chrome DevTools or PageSpeed Insights instead.

Sources

  1. Google Search Central blog, "Mobile-first indexing has landed - thanks for all your support", 31 October 2023
  2. MDN Web Docs, "Viewport meta tag"
  3. Chrome for Developers, "Introduction to Lighthouse"
  4. W3C, WCAG 2.2, Success Criterion 2.5.8 Target Size (Minimum)

IB NOVA

A web studio building WordPress and Bricks Builder websites, AI websites and SEO for small businesses worldwide. About IB NOVA