#64727 closed defect (bug) (fixed)
Classic Editor: set background, positioning and height for Skip to Editor link
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Editor | Keywords: | has-patch commit |
| Focuses: | css | Cc: |
Description
In 7.0, the 'Skip to Editor' link is larger and has a transparent background, which is inappropriate above the title field.
Between the 600- and 850-pixel breakpoints, the link's padding can cause the page to scroll horizontally. (This already happened in WordPress 6.9, but now the link is 12 pixels wider and the admin toolbar goes further off-screen.)
Attachments (2)
Change History (10)
This ticket was mentioned in PR #11053 on WordPress/wordpress-develop by @sabernhardt.
3 months ago
#1
- Keywords has-patch added
- Assigns the
rightpositioning value regardless of whether the link has focus, to avoid horizontal scroll. - Sets the background color to white.
- Reduces the
line-heightandmin-height. - Keeps the
topvalue of 4 pixels for any screen width.
Use of AI Tools: none
@sabernhardt commented on PR #11053:
3 months ago
#2
The 32-pixel height matches the plugin action buttons (since r61729).
#4
@
3 months ago
Patch Testing Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11053
Environment
- WordPress: 7.0-beta1-61709-src
- PHP: 8.2.29
- Server: nginx/1.29.5
- Database: mysqli (Server: 8.4.8 / Client: mysqlnd 8.2.29)
- Browser: Chrome 145.0.0.0
- OS: macOS
- Theme: Twenty Eleven 5.0
- MU Plugins: None activated
- Plugins:
- Classic Editor 1.6.7
- Test Reports 1.2.1
Steps taken
- Opened Classic Editor (Posts → Add New).
- Resized viewport to 600px–850px and 480px.
- Observed horizontal scroll and overflow before patch.
- Applied PR #11053 and retested.
- ✅ Patch is solving the problem
Expected result
- No horizontal scroll.
- Proper positioning and 32px height.
- White background.
- Admin toolbar fully visible.
Result
Issue fixed at 600px+ and 480px. No overflow after patch.
Screenshots
| Before Apply Patch | After Apply Patch ✅ |
|
|
@sabernhardt commented on PR #11053:
3 months ago
#7
@sabernhardt commented on PR #11053:
3 months ago
#8
Committed in r61742


Skip to Editor link, visible on focus, at 640 pixels wide