Free tools Windows power users keep installed
One-click scans. No signup required.
Make your WordPress site mobile responsive by combining a responsive theme, viewport-specific styles, flexible layouts, usable mobile navigation, and responsive images. Work through the editor at mobile and tablet widths, remove fixed-width elements that cause horizontal scrolling, and test real narrow viewports before publishing. WordPress uses one responsive design rather than a separate mobile site, so the same content must adapt to the available width.
Antihost offers managed WordPress hosting with free migration, one-click staging and a 14-day free trial.
What “mobile responsive” means in WordPress
A responsive site keeps the same URL and content while its layout adapts to the browser width. Columns can stack, text can resize, images can use smaller files, and navigation can change to fit a narrow screen. This is different from creating a second “mobile version” of a site. WordPress.com describes WordPress as using one responsive design and recommends starting with a mobile-friendly theme (WordPress.com mobile-friendly guidance).
As an Amazon Associate I earn from qualifying purchases.
A page is not responsive merely because it opens on a phone. Check whether visitors can read body text without zooming, reach every menu item, tap controls accurately, complete forms, and scroll vertically without a sideways strip. A single oversized hero, fixed-width table, or absolutely positioned button can make an otherwise flexible page fail.
1. Confirm that your active theme is responsive
Theme behavior sets the limits of what you can fix without code. Before changing individual blocks, inspect the active theme on a narrow browser window or in WordPress device previews.
#1 Best Overall
What to check
- Header, logo, content area, sidebar, and footer fit within the viewport without horizontal scrolling.
- Columns stack or wrap rather than retaining desktop widths.
- The theme exposes mobile or tablet controls in the Site Editor or Customizer.
- Navigation has a usable narrow-screen pattern, such as a menu button or wrapped links.
- Typography and spacing can be adjusted independently for smaller viewports.
If the theme has no mobile controls and its structural elements overflow, replacing it with a responsive theme is usually safer than accumulating overrides. Preserve your content, menus, widgets, and custom CSS notes before switching, then verify templates and header parts on a staging copy.
2. Set mobile and tablet styles in the block editor
Block themes provide viewport controls for many style properties. The documented WordPress defaults are Mobile at 480px and narrower, and Tablet above 480px through 782px; a theme can use different values (WordPress responsive styles documentation).
Recommended Free Tools
Site-wide styles
- Open Appearance → Editor.
- Select Styles, then choose a block type or global element you want to change.
- Open the viewport or states control and choose Tablet or Mobile.
- Adjust the supported typography, spacing, dimensions, color, border, or layout settings.
- Save, switch to the other viewport, and check that the desktop value still produces the intended cascade.
One block at a time
- Select the block in the editor.
- Open the options menu and choose View → Responsive styles when that option is available.
- Select Mobile or Tablet, then edit the block’s supported settings.
- Preview the surrounding section, not only the selected block; a change in padding or font size can alter line wrapping and push nearby controls below the fold.
Responsive controls are property-specific. They apply only to settings that the block exposes through its styles or settings support. Toolbar choices such as alignment may apply at every size, so do not assume that selecting a mobile viewport makes every control responsive.
3. Configure breakpoints with theme.json when developing a theme
Theme developers can define responsive values in theme.json. WordPress 7.1 supports @mobile and @tablet style keys and generates media-query-scoped CSS (WordPress 7.1 responsive block styles announcement).
Use the documented global settings and styles schema when declaring these values (Global settings and styles reference). For example, a block style can provide a desktop value and override it under @mobile; the generated CSS is scoped to the mobile viewport rather than loading a second page template.
Viewport widths are configurable through settings.viewport.mobile and settings.viewport.tablet. Valid units are px, em, and rem. Keep the values documented for your theme so editors, custom CSS, and QA use the same assumptions. A breakpoint is a layout threshold, not a list of specific phone models.
4. Build layouts that can shrink, stack, and wrap
Most mobile failures come from a desktop layout that is being squeezed rather than redesigned for a narrow width. Start with the container and columns that establish the page geometry.
Remove width constraints that cause overflow
- Replace pixel-based widths on page wrappers with fluid widths and a sensible maximum width.
- Check groups, columns, query loops, tables, embeds, and custom HTML for hard-coded widths.
- Let long words, URLs, and code samples wrap or scroll inside their own container instead of expanding the entire page.
- Reduce large horizontal padding and gaps at mobile widths.
- Do not position essential controls outside the normal flow with absolute coordinates.
Stack or wrap columns
For a two-column desktop section, let the columns become a vertical sequence on phones, or allow them to wrap when each column has a meaningful minimum width. Put the primary task first: an article’s content should generally precede a secondary sidebar. Check that a background, border, or spacing rule still makes sense after stacking.
Prevent media from exceeding its container
Images, videos, iframes, and canvases should have a fluid maximum width so they cannot exceed the content box. Inspect third-party embeds separately; an iframe with a fixed width can create overflow even when every native block is flexible.
5. Make navigation usable at narrow widths
A desktop menu that merely wraps into three lines is often harder to use than a deliberate mobile menu. Use the theme’s navigation block or header controls to expose a compact menu button, then test the opened panel at the narrowest width you support.
Navigation checks
- The menu button has a visible label or familiar icon and a large enough tap area.
- Opening and closing the menu does not shift the page unexpectedly or trap focus.
- Submenus can be opened with touch, not only hover.
- Links have enough vertical spacing to avoid accidental taps.
- The logo, menu button, search, and account controls remain visible together.
WordPress.com’s mobile editing guidance covers mobile menus, stacking blocks, wrapping content, viewport-specific text sizing, and device-specific visibility (mobile editing guide). Use visibility controls sparingly: hiding critical navigation or content on mobile creates a different information experience and can make tasks impossible to complete.
6. Tune typography, spacing, and tap targets
Readable type is a layout requirement, not a cosmetic detail. At mobile widths, adjust heading sizes, line height, paragraph spacing, and section padding together. A very large heading can force awkward line breaks; a very small line height can make a paragraph difficult to scan.
Practical adjustments
- Set a mobile heading size that wraps into a few deliberate lines rather than one word per line.
- Keep body text and controls visually distinct; do not rely on color alone.
- Reduce decorative margins before reducing the spacing between a label and its input.
- Give buttons, links, and form controls enough height and separation for touch.
- Check focus indicators and keyboard order after changing layout or visibility.
Use the editor’s viewport-specific typography and spacing settings where available. If a property is not exposed, add a narrowly scoped media-query rule rather than changing the desktop value globally.
7. Serve responsive images instead of desktop-sized files
WordPress has supported responsive images since version 4.4. It can emit srcset and sizes attributes and create multiple image sizes so the browser selects a suitable resource for the viewport and display density (WordPress responsive images API).
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Authoring checklist
- Upload an image large enough for its maximum displayed size, but do not use a multi-megapixel original when a smaller rendition is sufficient.
- Use the Image block’s intended size and crop rather than forcing a large file into a small card.
- Inspect the generated HTML for
srcsetandsizeswhen a page still downloads an unexpectedly large asset. - Compress photographic media and remove unused decorative images from mobile layouts.
- Keep essential text as HTML. Text baked into an image cannot resize, reflow, or be reliably read by assistive technology.
Responsive image markup reduces the chance of sending a full-size desktop asset to a phone, but it does not choose sensible dimensions for you. Recheck templates that use custom HTML, background images, sliders, or third-party galleries because those may bypass WordPress’s normal image-size handling.
Rank #4
8. Use CSS media queries for layout rules
CSS media queries respond to the viewport that actually controls layout. A typical default range is @media (width <= 480px) for mobile and @media (480px < width <= 782px) for tablet, subject to the active theme’s configured values.
Keep custom rules focused on the component they fix, and load them through the child theme or the site’s supported additional-CSS mechanism. Avoid selectors that depend on generated block IDs when a stable class or block style is available. After each change, test the boundary just below and just above the breakpoint; a rule that works at 480px can fail at 481px.
Why wp_is_mobile() is not a CSS replacement
wp_is_mobile() performs server-side device detection; it does not measure the layout viewport. A tablet, a desktop browser narrowed to phone width, or a device with an unusual user agent can be classified differently from the width your CSS sees. The function’s reference therefore recommends CSS media queries for presentation (WordPress wp_is_mobile() reference).
Use device detection only when the server truly must produce different output. If mobile and non-mobile HTML differ, page caching must maintain separate cache buckets; otherwise one audience can receive the wrong markup. For styling, wrapping, hiding, and resizing, keep the HTML shared and let CSS handle the viewport.
9. Preview at mobile and tablet widths
Start with WordPress’s Mobile and Tablet previews, then inspect representative narrow widths in a browser. Preview controls reveal many issues, but a single preset cannot represent every device or orientation.
Best Value
- Open the page or template in the editor and choose the Mobile viewport.
- Look for a horizontal scrollbar, clipped text, cropped controls, and images that exceed their containers.
- Open the menu, search, login, cart, and any modal or accordion; verify that each can be opened and closed by touch and keyboard.
- Complete a representative form from start to finish, including validation and error messages.
- Switch to Tablet and check intermediate widths where columns may be too narrow to remain side by side.
- Resize through the breakpoint boundary and repeat the overflow check.
- Publish only after checking the front end, not just the editor canvas.
After changing a breakpoint or global style, repeat the checks on templates that share the same header, footer, query loop, or reusable pattern. A fix in one page can alter every page using that part.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Breakpoint reference and trade-offs
| Viewport | WordPress default range | Typical purpose | Important qualification |
|---|---|---|---|
| Mobile | width <= 480px |
Single-column layouts, compact navigation, reduced spacing | Default documented range; the theme may customize it. |
| Tablet | 480px < width <= 782px |
Intermediate column widths, wrapped navigation, moderate spacing | Default documented range; the theme may customize it. |
| Desktop | Above the configured tablet range | Multi-column layouts and full navigation | There is no universal device breakpoint; use the values that keep your content usable. |
Custom values are declared through settings.viewport.mobile and settings.viewport.tablet using px, em, or rem. Choose a threshold where your layout needs to change, then document it rather than copying a phone model’s screen width.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →Choosing an implementation route
The right route depends on who will maintain the site and how much structural control is needed.
| Route | Editor support | Theme control | Layout flexibility | Media efficiency | Maintenance risk |
|---|---|---|---|---|---|
| Responsive theme with block-editor controls | Owners can set many mobile and tablet values without code. | Breakpoints and supported properties depend on the theme. | Good when blocks stack and wrap correctly. | WordPress responsive image markup is available to normal image blocks. | Lower than extensive custom CSS, provided theme updates preserve the settings. |
theme.json configuration |
Editors consume the controls; developers define the system. | Highest control over viewport values and global styles. | Strong for a maintained block theme. | Still requires sensible source dimensions and image-size choices. | Requires version-aware development and regression testing after WordPress updates. |
| Custom CSS media queries | Owners need a developer or documented CSS workflow. | Can target gaps that the editor does not expose. | Potentially high, but poor selectors can create conflicts. | CSS cannot replace proper image sizing or srcset. |
Higher when selectors, plugins, or theme markup change. |
| Server-side device-specific output | Not an editor feature. | Changes HTML by detected device rather than viewport width. | Useful only for genuinely different server responses. | Requires separate handling for every output variant. | Highest: device detection and separate cache buckets can become inconsistent. |
Troubleshooting common mobile failures
| Symptom | Likely cause | Fix |
|---|---|---|
| Horizontal scrolling on every page | Fixed-width wrapper, column, table, iframe, or long unbroken string | Find the element that exceeds the viewport, remove its fixed width, allow wrapping, or contain overflow inside the component. |
| One section is wider than the rest | Block-specific padding, negative margin, transform, or custom HTML | Inspect that block at Mobile and Tablet; reset the offending spacing or transform at the relevant viewport. |
| Desktop menu wraps into an unusable strip | No mobile navigation state or insufficient tap spacing | Use the theme’s menu button pattern, test submenu behavior, and keep controls separated vertically. |
| Text is clipped or breaks into single words | Fixed font size, forced line break, nowrap rule, or oversized heading | Remove the forced constraint and set a mobile typography value; check the line at widths around the breakpoint. |
| Images load slowly despite a small display size | Custom markup or background image bypassing responsive image attributes | Use a WordPress image block where possible, verify srcset/sizes, and create an appropriately sized source. |
| Mobile and desktop visitors see the wrong layout | Server-side device output cached in one shared bucket | Return shared markup and use CSS, or configure separate cache buckets for each server response. |
| Editor looks correct but the published page fails | Theme CSS, plugin CSS, cached assets, or an embed differs on the front end | Clear relevant caches, inspect the live page, and test with nonessential plugins or custom CSS isolated on staging. |
Maintenance checklist
Responsive work is ongoing because templates, plugins, content, and breakpoints change. Add these checks to each significant release or redesign:
- Test the home page, a long article, an archive or query loop, a form, and a page with an embed.
- Check Mobile and Tablet previews and at least one width just below and above each custom breakpoint.
- Open navigation, accordions, dialogs, search, and any sticky controls with touch and keyboard.
- Look for new fixed-width blocks, oversized uploads, and headings that gained awkward line breaks.
- Review shared header and footer parts after theme or plugin updates.
- Keep a short record of custom viewport values and the CSS selectors that depend on them.
When the active theme supplies responsive controls, prefer those controls over one-off overrides. When it does not, make the smallest scoped CSS change that solves the layout problem, then retest every template that shares the affected component.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.




