Opened 15 years ago
Closed 15 years ago
#17464 closed defect (bug) (wontfix)
Profile Image Offset In Admin Bar When Viewing Site
| Reported by: | jrtc27 | Owned by: | iandstewart |
|---|---|---|---|
| Priority: | normal | Milestone: | WordPress.org |
| Component: | Themes | Version: | 3.1.2 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
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)
#2
@
15 years ago
The theme is Elegant Grunge (http://wordpress.org/extend/themes/elegant-grunge) and the site is http://2squaredstudios.com/.
#3
follow-up:
↓ 5
@
15 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.)
#5
in reply to: ↑ 3
@
15 years ago
- Resolution → fixed
- Status new → 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 imgseems 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
@
15 years ago
- Milestone Awaiting Review → WordPress.org
- Resolution fixed
- Status closed → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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?