Why Is My Website Not Mobile Friendly?

Your website is not mobile friendly because of missing viewport tags and fixed width elements. Learn how to spot these layout errors and fix your code today.

Eptekhar Hasan11 min read
Illustration for Why Is My Website Not Mobile Friendly?

Your website is not mobile friendly because it uses fixed pixel widths, lacks a viewport meta tag, or relies on an outdated desktop layout. These technical errors force mobile browsers to shrink your pages. Your text becomes unreadable. Your buttons become too small to tap. You can fix this by updating your code or changing your theme.

When your website is not mobile friendly, you lose traffic. Google uses mobile first indexing to rank your pages. If your mobile layout is broken, your search rankings drop. You need to identify the exact cause and apply the right fix.

You Are Missing The Viewport Meta Tag

The most common reason a site fails to render correctly on a phone is a missing viewport tag. Mobile browsers need instructions on how to scale your page. Without these instructions, the browser assumes your site is designed for a desktop monitor. It will render the page at a standard desktop width and shrink it down to fit the phone screen.

This makes your text tiny. You have to pinch and zoom to read anything.

To confirm this is the problem, you can paste your web address into this mobile friendly checker to see if your viewport tag is missing and spot elements that are too wide for a phone screen.

You can also check this yourself in your browser. Open your website on a computer. Right click on the page and select the option to view the page source. Search the code for the word viewport.

If you do not see it, you have found your problem.

To fix this, you must add a specific line of HTML to the head section of your website. The code looks exactly like this:

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

This tells the mobile browser to set the width of the page to the width of the device screen. It also sets the initial zoom level to one.

If you use a custom HTML website, paste this into every page. If you use WordPress, you need to edit your header file. You can find this in your theme folder. If you are not comfortable editing PHP files, you will need a developer to do this for you. Breaking your header file will take your entire website offline.

You Used Fixed Pixel Widths

Your layout might contain elements with fixed pixel dimensions. This happens when you tell an image or a container to be exactly 800 pixels wide.

A modern smartphone screen is usually between 360 and 430 pixels wide. If you place an 800 pixel image on a 400 pixel screen, the image overflows. The browser forces the user to scroll horizontally to see the rest of the picture.

Horizontal scrolling ruins the mobile experience.

To confirm this issue, open your website on your phone. Swipe your thumb left and right. If the page moves sideways, you have elements overflowing the screen.

Fixing this requires CSS changes. You need to stop using absolute pixel values for widths. You must use relative units instead.

Change your container widths from pixels to percentages. A container set to a width of 100 percent will always fit exactly inside the screen, no matter how small the device is.

Images require a specific CSS rule to become responsive. You need to add this rule to your stylesheet:

max-width: 100%; height: auto;

This rule tells the image to scale down if the screen is smaller than the image itself. The height auto rule ensures the image keeps its original proportions so it does not look stretched.

If you use a page builder like Elementor, you have to find the specific column or image widget causing the overflow. Click into the advanced settings for that widget. Change the width unit from PX to the percentage symbol.

Your Tap Targets Are Too Small

Desktop websites are built for mouse cursors. A mouse cursor is precise. A human thumb is not.

If your website is not mobile friendly, your buttons and links are likely too small or too close together. When a user tries to tap your contact link, they might accidentally tap your pricing link instead.

To confirm this, open your site on your phone. Try to navigate through your main menu. Try to tap the submit button on your contact form. If you have to zoom in to tap the right thing, your tap targets fail the mobile test.

Google flags this specific issue in their search console.

To fix this, you must increase the size of your interactive elements. The minimum recommended size for a tap target is 48 by 48 pixels.

You can achieve this by adding padding to your links. Open your CSS file and locate your navigation links. Add padding to the top, bottom, left, and right of the text. This expands the clickable area without making the text itself massive.

You also need to add margin between your buttons. If you have two buttons next to each other, add at least 8 pixels of margin between them. This creates a dead zone. If the user misses the first button slightly, they hit empty space instead of triggering the wrong action.

You Have Intrusive Popups

A newsletter popup that looks great on a laptop will destroy your mobile layout.

Desktop popups often cover the entire mobile screen. The close button is frequently pushed off the edge of the screen. The user cannot read your content and they cannot close the popup. They will just hit the back button and leave.

To confirm this, open an incognito window on your phone. Load your homepage. Wait ten seconds. If a popup appears and traps you, you have a severe mobile usability issue.

You have two options to fix this.

The best option is to disable popups entirely on mobile devices. Most popup software includes a setting to hide the widget on screens smaller than 768 pixels wide. Turn this setting on.

The second option is to replace the popup with a mobile friendly alternative. Use a small banner that sticks to the bottom of the screen. This takes up a fraction of the space and leaves your main content visible. The user can still scroll and read your page.

If your popup comes from a third party plugin, you might not have control over its mobile layout. In that case, you must delete the plugin.

Your Text Is Too Small To Read

Reading on a phone requires legible text. If your font size is set to 12 pixels, your visitors will struggle.

Desktop monitors sit further away from the eyes, but they are physically massive. Mobile screens are small. Text needs to scale up to remain readable.

To fix this, set your base font size to at least 16 pixels. This is the standard default size for modern web browsers.

You should also stop using pixels for font sizes. Use relative units like REM. One REM equals the base font size of the browser. If you set your paragraph text to 1 REM, it will always be 16 pixels unless the user has specifically changed their browser settings for accessibility reasons.

You also need to adjust your line height. Text that is crammed together is hard to read on a small screen. Set your line height to 1.5. This adds breathing room between the lines of text.

Hover Effects Do Not Work On Touch Screens

Desktop websites rely heavily on hover effects. You move your mouse cursor over a menu item, and a dropdown list appears. You move your cursor over an image, and a text caption slides into view.

Phones do not have mouse cursors. You cannot hover on a touch screen. You can only tap.

If your website relies on hover states to reveal important information or navigation links, your mobile users cannot access that content. When they tap the menu item, the browser tries to click the link instead of opening the dropdown. They navigate to the wrong page and get frustrated.

To confirm this issue, look at your desktop site. Move your mouse around without clicking anything. If menus open or text appears, you have hover dependent content.

You must replace hover effects with click events for mobile users.

If you have a dropdown menu, you need to add a toggle button. This is usually a small arrow icon next to the main menu link. When the user taps the arrow, JavaScript adds a CSS class to the dropdown menu to make it visible. When they tap it again, the menu hides.

Avoid hiding critical information behind hover states entirely. Put the text directly on the page so everyone can read it immediately.

Your Theme Was Built Desktop First

Sometimes a few CSS tweaks will not fix the problem. If your website is old, it might have been built before mobile traffic mattered.

Older websites were built desktop first. The developer created a rigid layout for a large screen. Later, they tried to bolt on mobile support by writing media queries to force the rigid layout to shrink.

This approach rarely works well. It creates a fragile codebase. Every time you add a new element, the mobile layout breaks again.

If your text is small, your images overflow, and your menu does not open, your foundation is broken.

You cannot patch a fundamentally broken theme. You need to rebuild the site using a mobile first approach.

Mobile first design means writing the CSS for the phone screen before you write the CSS for the desktop screen. You start with a single column layout. As the screen gets wider, you use media queries to add columns and complexity.

This requires a complete redesign. If you are using WordPress, you need to install a modern responsive theme. If you are using a custom site, you need a developer to rewrite your stylesheets.

If you want to read more about updating your site structure, you can look at our guide on how to plan a website redesign. You can also check our pricing to see how much a rebuild costs.

Heavy Third Party Widgets Break The Layout

You might have a perfectly responsive website, but one specific feature breaks the mobile view. This is usually caused by third party widgets.

Booking calendars, live chat bubbles, and embedded review feeds are built by other companies. Those companies have their own priorities. They often design their widgets for desktop users and ignore mobile usability.

A booking calendar might use a fixed table layout that refuses to shrink. A chat bubble might overlap your mobile menu button, making it impossible for users to navigate your site.

To confirm this, look at the specific page that is failing. If your homepage is fine but your contact page is not mobile friendly, the problem is isolated to the elements on that page.

You must test these widgets before you commit to them. If a widget breaks your mobile layout, you have to find a different provider.

You can try hiding the widget on mobile devices using CSS media queries. You can set the widget container to display none on screens smaller than 768 pixels. However, this means your mobile users cannot book appointments or use your chat feature. This is a poor user experience.

The only real fix is replacing the tool.

Google Penalises Non Mobile Friendly Sites

You cannot ignore this problem. Google has used mobile first indexing since 2019.

This means Google uses the mobile version of your website to determine your search rankings. They do not care how beautiful your desktop site is. If your mobile site is broken, Google considers your entire website to be broken.

You can read the exact technical details in the official mobile-first indexing documentation provided by Google.

If your site fails their mobile tests, they will drop your pages from the top search results. You will lose organic traffic.

You must monitor your Google Search Console account. Google will send you an email if they detect mobile usability issues. They will tell you exactly which pages are failing and which specific errors they found.

Do not ignore those emails. Fix the errors immediately and use the validate fix button in Search Console to tell Google to check your site again.

How To Audit Your Own Website Right Now

You do not need to guess if your site is working. You can audit it yourself using tools built into your web browser.

If you use Google Chrome, you have access to developer tools.

Here are the exact steps to test your site:

  1. Open Google Chrome on your computer.
  2. Navigate to your website.
  3. Right click anywhere on the page and click Inspect.
  4. A panel will open on the right side of your screen. Look at the top left corner of this new panel.
  5. Click the icon that looks like a phone and a tablet overlapping. This is the device toggle.
  6. Your website will shrink to fit a mobile screen.
  7. Use the dropdown menu at the top of the screen to select different devices, like an iPhone or a Pixel.

Refresh the page. Scroll through your content. Click your buttons. This simulation shows you exactly what a mobile user sees.

If you spot horizontal scrolling, overlapping text, or broken menus, you have work to do.

Fixing these issues takes time. If your site is built on an outdated foundation, patching it might cost more time than starting over. If you need a completely new foundation that works on every device automatically, we build those from scratch as part of our local business websites package.

Do not let a broken mobile layout turn your visitors away. Find the missing viewport tags, remove the fixed pixel widths, and scale your text up. Your traffic depends on it. If you need help auditing your setup, you can always reach out through our contact page to discuss your current layout.

Keep reading

All guides