Make WordPress Core

Opened 16 months ago

Last modified 15 months ago

#57931 new enhancement

Add Border Radius to WP Dashboard Post Boxes

Reported by: generosus's profile generosus Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Administration Keywords: needs-design-feedback 2nd-opinion has-patch
Focuses: ui, css Cc:


Good Day!

WordPress' dashboard always looks nice and tidy. How about adding another enhancement to it?

Here goes: Add a border radius to the dashboard's post boxes with the following CSS Rule (or equivalent):

.postbox {
    border-radius: 8px!important;


Special Note: If approved, the change will have to address the small line extension that appears when the post boxes are collapsed. Should be easy to fix.


The above will not only add a "cool factor" to the WordPress' dashboard, but also bring it in line with current website design trends.

Looking forward to your approval and integration.


Change History (6)

#1 @sabernhardt
16 months ago

  • Component changed from Formatting to Administration
  • Focuses ui css added
  • Summary changed from Enhancement Request | Add Border Radius to WP Dashboard Post Boxes to Add Border Radius to WP Dashboard Post Boxes
  • Version trunk deleted

I do not object to rounding the corners, but we would need to do that without !important (#26350).

#2 @generosus
16 months ago

Hey @sabernhardt,

I'll buy that :)

Thank you!

#3 @generosus
16 months ago

Hey @sabernhardt,

I would also like to recommend adding a border radius to the screen-meta (dropdown) element as follows:

#screen-meta {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;

#screen-meta-links .show-settings {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;

Result (Collapsed):

Result (Expanded):

Special Note: In the expanded mode, the "Help" tab will require a minor CSS clean-up.


Thank you!

Last edited 16 months ago by generosus (previous) (diff)

This ticket was mentioned in PR #4240 on WordPress/wordpress-develop by bijit027.

16 months ago

  • Keywords has-patch added

Added border radius to WP dashboard post boxes and screen-meta (dropdown)

Trac ticket:

#6 @generosus
15 months ago


The CSS Rules provided below fix the small line extension that appears when the post boxes are collapsed. They should also be added to the affected patch(es) (with or without !important-- whatever works).

.postbox.closed {
    border: 1px solid #c3c4c7!important;
    box-shadow: 0 1px 1px rgba(0,0,0,.04)!important; 

.postbox.closed .postbox-header {
    border-bottom: 0px!important;

Before Above CSS Rules Applied:
After Above CSS Rules Applied:

Special Notes:

  1. It would be nice to come up with a CSS Rule that will add a border radius to the bottom-right corner of the Screen Options screen-meta box as noted here:
  1. It would be nice to check all others WordPress admin sections (e.g., plugins) to see if any boxes would look better with a border radius.
Last edited 15 months ago by generosus (previous) (diff)
Note: See TracTickets for help on using tickets.