WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#17464 closed defect (bug) (wontfix)

Profile Image Offset In Admin Bar When Viewing Site

Reported by: jrtc27 Owned by: iandstewart
Milestone: WordPress.org Priority: normal
Severity: minor Version: 3.1.2
Component: Themes Keywords:
Focuses: Cc:

Description

If in your user profile setting you check the "Show Admin Bar >> When Viewing Site" option, your profile image in the top left of the bar when viewing the site (not the wp-admin area) is too far right and too low.

Change History (8)

comment:1 nacin3 years ago

This is a conflict of the admin bar CSS with the CSS of your theme. We can possibly override it, but we'll need to know how your theme is styling it. Link?

comment:3 follow-up: nacin3 years ago

The theme has this CSS rule:

.avatar {
    float: left;
    margin: 0 10px 0 0 !important;
}

Specifically the important margin does this damage.

Adding an important declaration to the margin specified in #wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar > a img seems to do the trick. Not sure if we want to do that. (All of our CSS for the admin bar could probably be important.)

comment:4 jrtc273 years ago

  • Cc jrtc27 added

comment:5 in reply to: ↑ 3 jrtc273 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Replying to nacin:

The theme has this CSS rule:

.avatar {
    float: left;
    margin: 0 10px 0 0 !important;
}

Specifically the important margin does this damage.

Adding an important declaration to the margin specified in #wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar > a img seems to do the trick. Not sure if we want to do that. (All of our CSS for the admin bar could probably be important.)

Great, thanks. I am closing the ticket. I just added the !important declaration to the margin in #wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar > a img.

Thanks again,
James

comment:6 nacin3 years ago

  • Milestone changed from Awaiting Review to WordPress.org
  • Resolution fixed deleted
  • Status changed from closed to reopened

Elegant Grunge is a supported WordPress.com theme, so I'm going to re-open this and assign it to one of the guys on the theme team there. They should then be able to update the theme in the WP.org repository depending on the agreement they have with the author.

comment:7 nacin3 years ago

  • Component changed from Graphic Design to Themes
  • Owner set to iandstewart
  • Status changed from reopened to assigned

comment:8 iandstewart3 years ago

  • Resolution set to wontfix
  • Status changed from assigned to closed

We can email a patch to the author that fixes this issue but we can't update the theme on Extend. That's up to the original theme author.

The best place for issues with themes in Extend is the WordPress.org support forums.

Note: See TracTickets for help on using tickets.