Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Admin Bar overlaps my dashboard

  • Avatar of astromono
    astromono
    Participant

    @astromono

    I’ve been having this issue for a while where the BP Admin Bar is standing right on top of the links at the top of the Dashboard for all my multisites. Now that WP 3.2 was rolled out, it is impossible to reach the Network Admin link and it is really annoying. Is there a way to make it so that the BP Admin will not show on top of the content and instead will “push” the admin dashboard down?

    The issue does not replicate with the bar on the sites themselves, only the dashboards.

Viewing 18 replies - 1 through 18 (of 18 total)
  • I’ve not seen this on 1.2 before. Have you customised your dashboard theme at all?

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Might be missing the point of your issue but in WP 3.2 the link to network admin has been changed from a straight link on the top bar to a dropdown that sits just below the various top bars BP or WP – but again apologies if I point out the obvious. As Paul asks have you customised the dashboard styling?

    Avatar of astromono
    astromono
    Participant

    @astromono

    @Paul No, I haven’t customized my dashboard theme. I’m actually using a child theme based off from the default that comes with Buddypress. The screenshot below shows what’s going on, except now I’m using WP 3.2:

    http://buddypress.trac.wordpress.org/attachment/ticket/2096/adminbar.tiff

    @hnla I was able to reach my Network Admin dashboard by going to the dropdown menu as you mentioned, however I had to go “Inspect Element” in Safari and then remove “padding:0;” temporarily from the wp-admin-bar div.

    Avatar of astromono
    astromono
    Participant

    @astromono

    Update: I tried switching themes and the issue persists, so I gather that the problem lies within the dashboard files themselves, but I don’t know how they got edited since I’ve never touched my core installation (and even if I had, the core files get rewritten with each new WP update, right?)

    Avatar of astromono
    astromono
    Participant

    @astromono

    @djpaul Bro, how you doing? Just writing to see if you have looked into this. Thanks so much for any help you can provide.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Deactivate all plugins except BuddyPress, keep on the bp-default theme and clear cache and cookies. How’s the BP Admin Bar now?

    Avatar of astromono
    astromono
    Participant

    @astromono

    @mercime It looks the same. I deactivated all plugins both on the network and in each individual site (I have 3 sites in my network). Made sure the default Buddypress theme was activated (only on one site) and Buddypress on network activate.

    I believe you had told me to follow these steps before in the WordPress forums before, but it didn’t work that time either. What could be causing this issue?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Deactivating plugins and changing to default theme is basic troubleshooting procedure for both WP and BP and usually helps spot the offending culprit as you activate plugins/theme one by one. Did you also deactivate mu-plugins and/or bp-custom.php?

    Avatar of astromono
    astromono
    Participant

    @astromono

    Yes, I tried the whole procedure without bp-custom.php (I removed it anyways even though all it does is set the avatar uploads folder). I do not use any mu-plugins.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @astromono I finally found an instance of BP admin bar over the site title and network admin in backend just minutes ago:-) It was in the old bp-child theme I was revising which had adminbar.css from way back when.

    Avatar of astromono
    astromono
    Participant

    @astromono

    @mercime awesome! so you were able to replicate the issue? Is there a fix?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Didn’t mean to replicate it :-) The fixes were add/change some styles in the adminbar.css within said child theme:
    `body { margin-top: 0px; }
    #header { margin-top: 28px; }`

    You haven’t said what theme you’re using, so I wouldn’t know if the above will fix your adminbar.

    Avatar of astromono
    astromono
    Participant

    @astromono

    @mercime Well, I’m using a child theme based off on bp-default, which is the default BP theme. Thing is, now I recall doing this in my new stylesheet when I first created the child theme:

    /* Inherit the default theme adminbar styles */
    @import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );

    I tried importing the styles for the default theme and the adminbar.css within the same style.css for my child theme. Could that be the issue?

    I just tried adding the above changes and the issue isn’t resolved.

    Avatar of astromono
    astromono
    Participant

    @astromono

    @djpaul @mercime Hey there guys, sorry to be bother, but it’s been a while and I haven’t heard back from you on this issue. I still don’t know what’s going on with the BP admin bar, but I’ve tried everything you’ve told me so far and I can’t get a fix :(

    Is there anything else we can try?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Your site URL? It’s hard to keep guessing what’s going on.

    Avatar of Lemmy
    Lemmy
    Participant

    @lemmyc

    I have this problem too since updating.
    This declaration in adminbar.css is being overriden by global.css in wp-admin:

    body {
    padding-top: 25px;
    }

    global.css sets padding to 0.

    Change the above in adminbar.css to this for a fix:

    body {
    padding-top: 25px !important;
    }

    I don’t know why the priorities have changed – perhaps the style sheets load in a different order now.

    Avatar of Lemmy
    Lemmy
    Participant

    @lemmyc

    A better solution was to add
    padding-top: 25px;
    to body.wp-admin in wp-admin.css

    Avatar of astromono
    astromono
    Participant

    @astromono

    haha! dude, the issue got resolved when I updated to Buddypress 1.5!!! Now I only have one new question:

    The blog post with the BP update mentions oEmbed is now used in activities and so on. How do I embed images in forum, groups and activity updates?

Viewing 18 replies - 1 through 18 (of 18 total)

You must be logged in to reply to this topic.