Skip to:
Content
Pages
Categories
Search
Top
Bottom

Admin bar mouseover issue


  • ybhavarthi
    Participant

    @ybhavarthi

    I am facing this issue with firefox3

    this is related to the timeout for mouseover action of the admin bar.

    Whenever i try to select any menu item (say friends from my account) the menu just vanishes/closes. Its the case with the host site buddypress.org as well…

    its just that the timeout value for javascript looks to be set to some greater value.

    Does anybody know whr this settings can be changed?

    Thanks in advance

    Yogesh

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

  • Burt Adsit
    Participant

    @burtadsit

    What version of bp are you using? I thought this was fixed in the trunk. Try updating to svn trunk.


    Burt Adsit
    Participant

    @burtadsit

    It’s not fixed in trunk either it seems. It’s back. Happening here also. I’ll put in a trac ticket.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    From the trac ticket comes a fix for the masses…


    In admin-bar.css, at line 55, under…

    #wp-admin-bar ul { /* all lists */

    REMOVE…

    height: 30px !important;

    ALTERNATIVELY REPLACE WITH… (might be needed to keep ie6 happy?)

    height: auto !important;

    The problem with setting the UL height to a set amout is obvious once you see it… Moving the mouse beyond the 30px point confuses the CSS, because the LI’s an A’s are outside the bounding area of the UL. Move the mouse 31px down, and the suckerfish JS fights the CSS to eventually say “remove sfhover” and the menu disappears.


    nicolagreco
    Participant

    @nicolagreco

    if you’ve bpdev plugins installed you can do that without touching the code:

    <?php

    function register_my_css() {

    bpdev_theme_register_style(

    ‘my-css-hack’,

    ‘My Css hack’,

    ‘my_css’,

    ‘on’,

    ‘on’

    );

    }

    function my_css() {

    ?>

    #wp-admin-bar ul {

    height: auto !important;

    }

    <?php

    }

    ?>

    and save it in a new file under /mu-plugins

    So when bp will update that, you can switch this thing off via the WP Admin-> BPDEV Admin -> BPDEV Theme


    Jeff
    Participant

    @jeffca

    Thanks for the fix to this bug John!

    Just add to site-wide.css for now, skip the plugin :)

    @Nicola:

    Doesn’t work – just kills all styles. BTW: I’m not using your theme. So this is the problem :) Your hack only with your theme.

    CSS hardcoding – great.


    bbrian017
    Participant

    @bbrian017

    guys where is this file? I’m not familiar with buddypress yet

    ty


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Brian, the file itself is in bp-core/css/admin-bar.css, but like Jeffca mentioned you can also make a site-wide.css file, and place it in your currently active home theme\’s /css directory, and it will work everywhere within your site, even inside the member theme.

    That way you\’re only editing one file, and it\’s on your own terms.

    I’ve added my fix to a trac ticket so it will get reviewed and possibly fixed in the core for future updates. The goal with all of this is NOT to edit or hack the core, but to have the core be as universally compliant as possible, and still allow for customization later.


    bbrian017
    Participant

    @bbrian017

    so the fix I’m about to do is only for what then?


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    For fun? :D

    It’s a fix that you’re going to want to keep in the back of your mind, knowing that it will probably become part of the core and something you will never have to think about again.


    bbrian017
    Participant

    @bbrian017

    I sis the css and it’s working perfect

    Thanks guys!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Admin bar mouseover issue’ is closed to new replies.
Skip to toolbar