Skip to content
GPLWP Guides

How to create responsive layouts in WordPress

Design & Layout Time About 30–60 minutes 7 steps Updated 2 Nov 2026

DESIGN & LAYOUT
The short answer

Create the desktop layout first, then check tablet and mobile views and adjust columns, spacing, typography and visibility at each breakpoint. WordPress blocks can handle simple responsive layouts; a page builder or utility framework helps when you need many device-specific controls.

The route
  1. 01Plan the content structure
  2. 02Build the layout with blocks
  3. 03Set device-specific styles
  4. 04Adjust page builder breakpoints
  5. 05Fix overflow and awkward spacing
  6. 06Test the published page
  7. 07Use a utility framework for speed

What you need

  • A WordPress site with an active theme
  • Administrator or Editor access
  • A page, template or landing page to edit
  • A phone or browser preview for checking smaller screens

Plan the content structure

List the content in reading order before placing it on the page. Put the most important heading, copy and call to action first, because columns commonly stack vertically on smaller screens.

Use a limited number of columns and avoid putting essential content only in decorative sidebars. A responsive layout is not simply a smaller desktop layout; it may need a different order, spacing and emphasis on mobile.

Build the layout with blocks

In the block editor, add a Group, Row or Columns block and place your content inside it. Set the alignment, width, gap and padding from the block settings rather than adding fixed spaces with repeated empty paragraphs.

The Columns block includes a mobile-stacking setting. Leave stacking enabled for most text and card layouts so columns become easier to read on phones. WordPress documents this behaviour through the Columns block's isStackedOnMobile setting.

Set device-specific styles

Open the page or template in your editor and check the available responsive controls. Depending on your theme and WordPress version, you may be able to set separate tablet and mobile values for typography, spacing, dimensions, colours and layout. WordPress's responsive styles feature is available in block themes and only appears for settings that support responsive values.

Start with a comfortable desktop size, then reduce heading sizes, padding and gaps only where the layout becomes cramped. Avoid setting every value independently; extra overrides make later maintenance harder.

Adjust page builder breakpoints

If you use a page builder, open its responsive or device preview mode and edit the tablet and mobile views. Look for controls beside typography, width, margin, padding, direction and visibility. In Elementor, settings inherit from wider screens to narrower screens, so a tablet change can also affect mobile until you override it.

For horizontal sections, change the direction to a vertical stack or reverse the order when the mobile reading sequence is wrong. Hide an element only when it is genuinely unnecessary; duplicating desktop and mobile content can create accessibility and maintenance problems.

Fix overflow and awkward spacing

Preview the page at narrow widths and look for horizontal scrolling, clipped buttons, oversized headings, images that push outside their container and long words that break the layout. Replace fixed pixel widths with percentages, max-widths or the layout controls supplied by your editor.

The common Friday problem is a negative margin or desktop-only width that still applies on mobile. Check the parent container first, then inspect child margins, widths, custom CSS and visibility settings. Elementor also identifies hidden elements, zero widths, opacity settings, custom CSS and third-party plugins as common causes of mobile problems.

Test the published page

Save the page, clear any page or CSS cache, and check the published URL on a real phone as well as in the editor preview. Test portrait and landscape views, menu operation, forms, buttons, images and the full reading order.

Do not rely on one device width. Breakpoints are ranges, and a layout that looks correct in the editor can still overflow between the standard desktop, tablet and mobile previews.

Use a utility framework for speed

The manual route is fine for a small site or a few landing pages. When you repeatedly adjust the same spacing, widths, typography and responsive rules across a page builder, a utility framework can reduce duplicated CSS and make the design system easier to apply.

Automatic.css is a suitable fast route when you want utility classes and scalable CSS variables for systematic responsive styling without writing custom CSS. Use it after planning the layout, then apply its utilities consistently rather than mixing several unrelated spacing systems.

The fast route

Let Automatic.css do it

Utility classes and scalable CSS variables for page builders; choose it for systematic responsive styling without writing custom CSS.

Get Automatic.css

Sources

  1. developer.wordpress.org /block-editor/reference-guides/core-blocks/core-blocks-desig…
  2. wordpress.org /documentation/article/responsive-styles/?utm_source=openai
  3. elementor.com /help/responsive-editing/?utm_source=openai
  4. elementor.com /help/troubleshooting-issues-with-mobiles/?utm_source=openai
  5. elementor.com /help/show-or-hide-columns-per-device/?utm_source=openai

Questions

Does WordPress make columns responsive automatically?
WordPress commonly stacks Columns blocks on mobile, but the exact result depends on the block, theme and settings. The core Columns block has a mobile-stacking option, which is normally appropriate for text and card layouts. Check the published page because custom widths, margins or theme styles can still cause overflow.
Should I design for mobile or desktop first?
Start with the content structure, then establish the wider layout and deliberately review the smaller views. Desktop gives you room to arrange columns, while mobile exposes problems with order, spacing and text size. Do not assume that shrinking the desktop version will produce a usable phone layout; stacked content often needs different spacing and hierarchy.
Why does my responsive layout show horizontal scrolling?
Horizontal scrolling usually comes from a fixed width, oversized image, long unbroken text, negative margin or custom CSS applied to a parent or child element. Inspect the outer container first, then check widths, padding and margins at the affected breakpoint. Also check whether a plugin or theme stylesheet is overriding the editor settings.
Can I hide an element only on mobile in WordPress?
You can hide elements on selected devices when your theme or page builder provides responsive visibility controls. In Elementor, select the element, switch to the target device and use its responsive visibility or display setting. In the block editor, the available controls depend on the theme, WordPress version and block support, so do not assume every block has the same options.
Do I need a plugin to create a responsive WordPress layout?
No, not usually. A block theme and the standard editor can handle basic responsive columns, spacing and typography, while page builders add more device-specific controls. A plugin or utility framework becomes useful when you need the same responsive rules across many pages, want reusable utility classes or need to avoid maintaining repeated custom CSS.