Skip to:
Content
Pages
Categories
Search
Top
Bottom

Admin bar conflict with blog themes


  • laviolette99
    Participant

    @laviolette99

    I’m adding new themes on my WordPress MU+Buddypress website, but many of those themes have a conflict with the buddypress admin bar.

    Here’s an example: http://fannie.ecoliers.ca. See the admin bar larger than it should be? It overlaps the blog theme.

    With another theme, it simply disappear…

    Any clue???

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

  • Brajesh Singh
    Participant

    @sbrajesh

    hi

    This is a css problem.

    Put something like this in the theme css(which ever blog theme you are using)

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

    and The top bar will no more hide the theme.

    Hope it helps.

    btw,you need to have adminbar css in all your themes in order to enable visibility of admin bar.The best way is use import url syntax of css and import adminbar.css from one theme to all the themes.


    laviolette99
    Participant

    @laviolette99

    Thanks Brajesh!


    laviolette99
    Participant

    @laviolette99

    I thought it was taking the css for the admin bar from the bp-default theme? Do I need to change that?

    Any idea why my admin bar is twice as large as it normally is?

    Thanks,


    laviolette99
    Participant

    @laviolette99

    I changed the theme and now the admin bar is at the bottom of the page!


    Jeff Sayre
    Participant

    @jeffsayre

    There is css for the admin bar both in bp-sn-parent and bp-default. Look at the adminbar.css in both of those theme folders.

    Also, you can make great progress in figuring out why something is doing or not doing what you want by using the FireBug add-on for Firefox.


    Brajesh Singh
    Participant

    @sbrajesh

    yeh

    I second to Jeff.

    The best way for you will be ,create some clone of adminbar.css from bp-default,customize it to your need and then put it in one of your theme.

    Now in all other themes, just use css imort rule to include this css.So you keep one place for maintaining the admin bar.

    And yes,Firebug is a great addon,go for it.


    laviolette99
    Participant

    @laviolette99

    Thanks guys! I’ll give it a try


    stwc
    Participant

    @stwc

    !important can be your CSS friend with adminbar stuff, I’ve found, to keep theme css from overriding declarations.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Admin bar conflict with blog themes’ is closed to new replies.
Skip to toolbar