Skip to content

Toolbar: Increase admin bar height to 48px for desktop and mobile - #13234

Open
dilipom13 wants to merge 1 commit into
WordPress:trunkfrom
dilipom13:fix/65881-admin-bar-height-48px
Open

Toolbar: Increase admin bar height to 48px for desktop and mobile#13234
dilipom13 wants to merge 1 commit into
WordPress:trunkfrom
dilipom13:fix/65881-admin-bar-height-48px

Conversation

@dilipom13

@dilipom13 dilipom13 commented Aug 22, 2026

Copy link
Copy Markdown

Summary

  • Sets the admin Toolbar to a consistent 48px height on desktop and responsive views (Trac #65881).
  • Updates --wp-admin--admin-bar--height and the front-end bump styles so content clears the taller Toolbar.
  • Adjusts Twenty Twenty and Twenty Twenty-One offsets that previously assumed 32px / 46px.

Test plan

  • While logged in, confirm the Toolbar is 48px in wp-admin and on the front end
  • Confirm front-end content sits below the Toolbar with no overlap
  • Below 782px width, confirm the Toolbar stays 48px and items remain easy to use
  • Open the WP logo and My Account menus and confirm they align under the Toolbar
  • With Twenty Twenty and Twenty Twenty-One, spot-check sticky/header positioning with the admin bar visible

Trac: https://core.trac.wordpress.org/ticket/65881

Unifies the Toolbar height and --wp-admin--admin-bar--height custom property at 48px, updates bump styles, and adjusts Twenty Twenty / Twenty Twenty-One offsets. Props for #65881.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props dilip2615.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions

Copy link
Copy Markdown

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@dilipom13

Copy link
Copy Markdown
Author

Please review these screenshots

01-wp-admin-desktop 02-frontend-desktop 03-wp-admin-narrow 04-frontend-narrow 05-wp-logo-dropdown 06-my-account-dropdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant