Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#17464 closed defect (bug) (wontfix)

Profile Image Offset In Admin Bar When Viewing Site

Reported by: jrtc27's profile jrtc27 Owned by: iandstewart's profile 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)

#1 @nacin
14 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?

#3 follow-up: @nacin
14 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.)

#4 @jrtc27
14 years ago

  • Cc jrtc27 added

#5 in reply to: ↑ 3 @jrtc27
14 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

#6 @nacin
14 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.

#7 @nacin
14 years ago

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

#8 @iandstewart
14 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.