Skip to content
SprecherEast
Issue 677

feat: Page menu and related content on the left on wide screens, related content below the page on small screens

Back to our plan
Open
enhancementfrontendstylinguxpriority: medium

Problem

In short: on post and event pages the page menu ("On this page") sits on the right, the related content sits under the article, and the article text starts further right than the Home icon in the breadcrumb, so the top of the page looks off. The owner wants everything in one column on the left on wide screens, and on small screens the page menu at the top with the related content below the page content.

Summary of the owner's feedback (2026-11-04, Claude in Chrome side panel, on the post "A new way onto I-94 at Milwaukee Street"): align the content with the Home link in the breadcrumb at the top, to remove the odd look. On a desktop or larger screen, everything should always sit on the left when the screen is wide enough; otherwise the page menu stays at the top and the related links go under the content.

Names used on this issue (the standard ones, so everyone means the same thing):

  • Header navigation: About, Events, News, Resources, Get Involved, next to the logo. On mobile it is the hamburger menu. Not changed by this issue.
  • Page menu: the "On this page" shortcuts to the headings of one article.
  • Related content: related posts, upcoming events, Get Involved, Contact us.
  • Breadcrumb: Home › News & Updates › the article.

Details

  1. Alignment. The breadcrumb's Home icon starts at the left edge of the page container, but the article text starts about 50 px further in. They share one left edge at every width.
  2. Wide screens (from the lg breakpoint). One column on the left, top to bottom: the page menu, a clear divider, then the related content. The article is to its right.
  3. Small screens. The page menu stays at the top (the bar it is today), then the article, then the related content below the article. Related content is never directly under the page menu on a phone.
  4. Every page. Posts and events share ArticlePage and DetailLayout. CMS pages (/[slug]), resources, FAQ and the news and events lists use other layouts. This layout becomes the default for all of them, built once and reused (guard rail 1).
  5. Empty parts hide. A page with no headings has no page menu; a page with no related items shows no empty box.

Proposed fix

  • One shared layout in src/platform/ui/ (extending DetailLayout) used by every page type, so the column, divider and spacing are defined once.
  • The content's left edge uses one shared size with the breadcrumb (no second copy of a layout number).
  • Pieces use the UI kit and theme tokens only. Divider and group headings follow the existing eyebrow style.
  • Native first: plain CSS grid and the existing OnThisPage and sidebar components; record on this issue that nothing in Payload or a plugin does this.
  • Groom into smaller issues once this is agreed (alignment fix; shared layout; each page type).

Acceptance criteria

  • Not done: The article text (small screens) or the left column (wide screens) starts at the same left edge as the breadcrumb's Home icon at 320, 430, 768, 1024, 1280 and 1920 px.
  • Not done: From the lg breakpoint up, the left column shows the page menu, then a divider, then the related content, on posts and events.
  • Not done: Below lg, the order is page menu, article, related content, with no horizontal scrolling.
  • Not done: CMS pages, resources, FAQ and the news and events lists use the same layout, with none left on the old right-hand layout.
  • Not done: A page with no headings or no related items shows no empty part.
  • Not done: The header navigation and the hamburger menu look and behave exactly as before.
  • Not done: Keyboard focus, nav landmarks with distinct names, and contrast pass in light and dark.
  • Not done: Tests first, an axe check, a gallery entry, and a row in docs/ui/component-set.md for each new shared component.
  • Not done: Screenshots at the six widths, light and dark, are on the PR.

Area

frontend, ux, styling

Priority

medium


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab