Home / Fix guides / Mobile and usability

How to fix clickable elements too close together on mobile

Make every button, link and menu item on your phone layout at least about 48 by 48 pixels in touch area, with roughly 8 pixels of space between neighbours. You usually do this with padding and spacing settings, not by changing the design.

Tap targets are anything a visitor can press with a finger: links, buttons, menu items, icons, checkboxes. When they are small or packed together, people tap the wrong thing. This page explains how to spot the problem, fix it on common platforms, and keep it from returning.

What the problem looks like

You will recognise it if you have ever used your own site on a phone and felt clumsy. Typical signs:

  • Two links in a footer or a list sit so close that you open the wrong page.
  • Small icons (social media, search, close buttons) are hard to hit.
  • Menu items in a mobile menu are squeezed into one tight stack.
  • A phone number or email link in a line of text sits right next to another link.
  • Visitors zoom in with two fingers just to press a button.

A finger pad is much bigger and less precise than a mouse pointer, so a layout that works on a desktop can fail on a phone.

Why it matters

Sales and enquiries. A visitor who taps Cancel instead of Buy, or opens the wrong page twice, often leaves. Checkout buttons, call buttons and form submit buttons matter most.

Trust. A site that is fiddly to use feels careless, even if the business is excellent.

Search. Google evaluates pages on mobile, and Lighthouse (the free auditing tool behind PageSpeed Insights) has included, depending on version, a check for tap targets that are too small or too close. It is one of several usability signals, not a magic ranking switch, but it points at real friction.

Accessibility. Larger targets help people with tremors, limited dexterity, or anyone using a phone one-handed on a train. WCAG 2.2, the common accessibility standard, asks for at least 24 by 24 CSS pixels at level AA, and 44 by 44 at the stricter AAA level.

How to check your own site (free)

  1. Use your phone. Open your home page, a product or service page, and your contact page. Try the menu, the footer links, the buttons and any forms. Note anything you miss on the first try.
  2. Run PageSpeed Insights. Go to pagespeed.web.dev, enter a page address, and look at the mobile results. In the accessibility or usability audits, look for a message about tap targets not being sized appropriately. Its wording can change between versions.
  3. Run Lighthouse in Chrome. Open the page in Chrome, press F12, open the Lighthouse tab, choose Mobile and run it. Tap target findings list the exact elements.
  4. Use device mode. In Chrome DevTools, click the phone and tablet icon to simulate a phone, then hover over buttons and links to see their size.

SiteMonday's week 5 mobile usability test also looks at this as part of a written report with a ranked fix list, so you know which pages to fix first.

How to fix it in general

The goal is a touch area of about 48 by 48 CSS pixels (the size Google and Material Design recommend; Apple suggests 44 points), with around 8 pixels of space to the next target. The visible button can stay smaller if the clickable area is bigger.

  • Add padding to links and buttons. Padding enlarges the tappable area without changing the font size.
  • Add spacing between items. Use margin or gap, especially in footers, lists of links and button rows.
  • Stack instead of squeeze. On narrow screens, put side by side buttons on top of each other, each full width.
  • Enlarge icons. Keep the icon small if you like, but wrap it in a larger clickable area.
  • Space out links inside paragraphs. Increase line height so lines of text with links are not touching.
  • Check form controls. Checkboxes, radio buttons and dropdowns are often tiny. See form fields too small on mobile.

If you or your developer can edit CSS, a simple starting point looks like this:

@media (max-width: 768px) {
  nav a, footer a, .button {
    display: inline-block;
    min-height: 48px;
    min-width: 48px;
    padding: 12px 16px;
  }
  footer li, nav li {
    margin-bottom: 8px;
  }
}

The selectors (nav a, .button) depend on your theme, so treat this as a pattern, not something to paste in blindly. Always test on a staging copy or check carefully afterwards.

Where to look on common platforms

Menu names differ by version and theme, but these are the usual places:

PlatformWhere to start
WordPressAppearance, Customize, Additional CSS, or your theme's menu and button settings
ShopifyOnline Store, Themes, Customize, then check button and menu settings; deeper changes in the theme code
WixEditor, switch to Mobile view, select the element and resize or add spacing
SquarespaceCustom CSS (under Design or Website Styles, depending on your version), plus the section and button size settings
WebflowDesigner, tablet and mobile breakpoints, padding and margin on links and buttons
ElementorSwitch to the mobile view, then adjust Padding and Margin in the Advanced tab, and spacing options in the Style or Layout tab, depending on the widget
WooCommerceSame as WordPress, plus check cart, quantity and checkout buttons

For more detail, see the WordPress guide. If your mobile menu itself is hard to use or fails to open, that is a related but separate issue: hamburger menu not working.

How to confirm the fix worked

  1. Clear your site cache and any caching plugin or CDN cache, so you see the new version.
  2. Open the same pages on a real phone and repeat your earlier taps. Use your thumb, not a fingertip, as most people do.
  3. Run PageSpeed Insights or Lighthouse again on the same pages and compare the tap target results.
  4. Check a few different screen widths in DevTools, including a small phone, since a fix that works on one size can fail on another.

If the audit still lists elements, open the details to see which ones. Often it is just one footer or a cookie banner.

How to stop it coming back

  • Test on a phone every time you change a theme, add a plugin or install a banner or chat widget. These often add small buttons.
  • Ask designers and developers for a minimum tap size of 44 to 48 pixels in your brief.
  • When you add links in a row (social icons, footer lists), set the spacing at the same time.
  • Re-run a mobile test every few months, and after any big redesign.
  • Keep important actions (call, buy, book) as large, clear buttons rather than small text links.

SiteMonday finds and explains problems like this one, but making the changes is up to you or your developer.

Step by step for your platform

Questions

What size should a tap target be on mobile?

Aim for about 48 by 48 CSS pixels, with roughly 8 pixels between neighbouring targets. Apple suggests 44 points, and WCAG 2.2 sets a bare minimum of 24 by 24 pixels at level AA.

Does this affect my Google ranking?

Mobile usability is one of many signals, and Lighthouse reports tap target problems. Fixing it will not guarantee higher rankings, but it removes real friction for visitors.

Do I have to make the visible button bigger?

Not always. You can enlarge the clickable area with padding while keeping the visible icon or text small. What matters is the size of the area a finger can hit.

Why does the problem only show on my phone?

Desktop layouts have more room, and a mouse pointer is precise. On narrow screens, items are packed together and a finger covers a much bigger area.

Can I fix this without a developer?

Often yes. Website builders like Wix, Squarespace and Elementor let you adjust padding and spacing visually in mobile view. Deeper theme changes may need a developer.

Are links inside paragraphs a problem too?

They can be if two links sit close together or lines are tightly packed. Increasing line height and avoiding links side by side usually solves it.

Related problems