Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#19657 closed defect (bug) (duplicate)

64px Avatar Size Not Enforced in the Toolbar

Reported by: trepmal Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3
Component: Toolbar Keywords: has-patch
Focuses: Cc:


If a custom avatar default is defined, and a user without their own Gravatar is logged in, the custom default is shown in all its glory (not resized) in the My Account menu of the Toolbar.


Though there are width and height attributes, the CSS supersedes that with

#wpadminbar * {
	height: auto;
	width: auto;

making the custom avatar show at its normal size.

Since the dimensions are also in the class, it's easy to target that image with CSS and force the correct size.

Attachments (1)

19657.diff (376 bytes) - added by trepmal 9 years ago.
targeting .avatar-64 (reupped)

Download all attachments as: .zip

Change History (2)

9 years ago

targeting .avatar-64 (reupped)

#1 @SergeyBiryukov
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.