Skip to content

[HelpHub][7.2] Responsive styles: position, custom CSS and Gallery settings per viewport, plus a footer status #2570

Open

Description

@chekle

Article to update: https://wordpress.org/documentation/article/responsive-styles/

Source: WordPress 7.2 Source of Truth: Responsive styles and states, round two (Priority item)
Tracking issue: Responsive style states for blocks - 7.2 tasks (gutenberg#80388). Closed at Beta 1. Later work is tracked in gutenberg#85243 for 7.3.
Planning issue: #2567 (Block and site editor > Responsive styles, and Design tools > Layout and Position settings)
7.1 issue for this article: #2459

Pages to update

  • Responsive styles: the main update (details below).
  • Position settings overview: add that position can be set per viewport. This page was last updated in June 2024, so check the rest of it against 7.2 too.
  • Styles overview: the Per-block CSS section (state-specific custom CSS) and the Navigation Link states in Blocks. The Global Styles issue for 7.2 also touches this page, so coordinate the edits.
  • Gallery block: columns, crop and aspect ratio per viewport. Gallery has several other 7.2 changes on Planning for 7.2 #2567 (Order by, Grid variation, Duotone, Detach). If a separate Gallery block issue covers the article, add the responsive settings there and tick this box with a link to it.

Update for 7.2

Summary: WordPress 7.1 introduced Tablet and Mobile styles. In 7.2, more settings can change by screen size: a block's position, custom CSS and the Gallery block's columns, crop and aspect ratio. The editor footer now shows which viewport you're editing and whether responsive styles are on, and Navigation Link blocks get hover, focus and active controls in Styles.

  • Position per viewport. You can set a different position (for example, sticky) for Tablet and Mobile. In core, the Group block is the only block with position settings.
    Enable setting position within viewport states (#83094), core ticket Trac #66166
    Sections affected: Limitations in Responsive styles (which lists the settings that can vary by screen size) and the Position settings overview.

  • Custom CSS per state. Custom CSS for a single block can be set for Tablet, Mobile and interactive states such as hover. Custom CSS set in Styles for a viewport now shows in the editor, and the inherited CSS shown in the Styles panels matches the selected viewport.
    Enable style state-specific custom CSS (#83539)
    Suggested action: a short section in Responsive styles, and a note in Applying Custom CSS > Per-block CSS in the Styles overview.

  • Gallery columns, crop and aspect ratio per viewport. The Gallery block's Columns, Crop images to fit and Aspect ratio settings can be different on Tablet and Mobile. Works with both the default and Grid gallery layouts.
    Enable Gallery columns and crop controls in viewport states (#82003), Enable viewport state values for Gallery aspect ratio (#82233)
    Sections affected: Limitations in Responsive styles, and Block settings > Settings tab in the Gallery block article.

  • Footer shows the viewport and responsive styles status. The editor footer shows the selected viewport and whether Responsive styles is on. On the Desktop viewport, the option to turn on responsive styles isn't available.
    Style states: Add footer viewport and responsive styles status (#84146)
    Sections affected: Setting responsive styles for a single block (add how to tell responsive styles are on).

  • Clearer state badges in the block settings. When a state is active, the state badges replace the block description in the Settings sidebar, and the badge has a tooltip. The device icon in the toolbar changes color while responsive styles are on.
    Style states: Improve block inspector UI (#82649)
    Sections affected: the paragraph about the badge in Setting responsive styles for a single block, and its screenshot.

  • Navigation Link hover, focus and active states in Styles. In Styles > Blocks > Navigation Link, you can now style the hover, focus, focus-visible and active states, so menu links can change on hover across the site.
    Global Styles: Add pseudo-state controls for Navigation Link (#83451)
    Note: this overlaps with the Global Styles changes. Document it here. The Global Styles issue points to this one.

  • Inherited values shown in block settings. Block settings now show the values a block inherits from Styles: as a placeholder or preselected option, with a dotted underline on the setting's label. A value set on the block itself overrides the inherited one.
    Block Editor: Reflect inherited Global Styles values in block inspector controls (#77894)
    Suggested action: a short note in How responsive styles work (inherited values also apply per viewport). This change affects all block settings, so it may also belong in the Global Styles issue.

Check on the RC build before writing

  • Steps in Setting responsive styles for a block type: the Styles panel opened from the editor toolbar now uses the editor's viewport dropdown to switch states, while the Styles panel opened from the Site Editor's main menu still uses the States dropdown. Check that both sets of steps still work.
  • Footer status (#84146): confirm it shipped, what it says, and whether it hides when the footer is hidden in Preferences.
  • Gallery: confirm the exact labels of the three settings and that they show a Tablet or Mobile badge.
  • Position: confirm the sticky option behaves per viewport on the front end, not only in the editor.
  • Inherited values (#77894): confirm the dotted underline and how it looks for color, spacing and typography.

Not in 7.2, don't document

  • Custom viewports or breakpoints added by plugins.
  • Responsive values for block toolbar controls. The Limitations section is still correct that toolbar controls apply to every screen size.
  • The developer API for custom responsive controls (getStyleForState(), setStyleForState(), the styleStates inspector slot). That's for the Field Guide, not HelpHub.
  • Anything listed on gutenberg#85243 (the 7.3 iteration).

Screenshots and media

  • Needed: the editor footer with the viewport and responsive styles status, the Settings sidebar with a Tablet or Mobile badge (replacing the current screenshot), a Group block's Position setting with a Tablet badge, and the Gallery block settings on Mobile.
  • Reusable from PRs (check against the RC build first): #83451 has two screenshots of the Navigation Link states. #83094, #83539, #82233, #84146 and #82649 have one each.
  • Source of Truth: the visuals are HTML recreations ("Recreated from WordPress 7.2"), not reusable images. The assets folder on Google Drive may hold real screenshots.
  • The Source of Truth authors ask that their text isn't copied. Paraphrase rather than paste.

General

  • Make sure all screenshots are relevant to the latest version
  • Make sure videos, if any, are up to date (the Demo section)
  • Add ALT tags for the images
  • Make sure the headings are in sentence case
  • Convert all reusable blocks to a ‘regular block’.
  • Update the changelog at the end of each article
  • Schedule each update for release day with Save for later (December 8, 2026 at 5:00 PM UTC), so the pages don't describe 7.2 before it ships
Directions (click to open)
  • Compare existing screenshots (on the article link) to the actual interface in the latest WordPress version.
  • Ensure you have the appropriate WordPress version and that new screenshots cover the same page area as the existing one.
  • If something is different in the latest version, make a new screenshot.
  • Upload new screenshots to the comment on this issue.
  • Request review by stating in the comment that the issue is ready for review.
Notes (click to open)
  1. You can set WordPress install in one click by visiting https://playground.wordpress.net/ or use InstaWP sandbox https://app.instawp.io/onboard
  2. We are not adding detailed updates for the Block settings - Typography, Color, Layout, Dimension and Border and for the More Options setting in the block toolbar. Pls mention the settings included for the block and link to the detailed settings pages instead.
  3. Some of the PRs have great videos that can be added to the article.
Automation (click to open)

If you want, you can assign yourself to the issue and change the label for review by posting specific keywords in a comment:

  • Assign yourself: /assign
  • Request review: /review

Read about our repo's automatisation here.

AI assistance: Yes. Tool: Claude. Used for: comparing the Source of Truth, the Gutenberg tracking issue and PRs against the current Responsive styles, Position, Styles overview and Gallery articles, and drafting this issue. Reviewed by @chekle before posting.

Activity

  1. added
    user documentation (HelpHub)
    on Nov 20, 2026
  2. github-actions commented on Nov 20, 2026

    @github-actions

    Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    7.2user documentation (HelpHub)

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions