Support » Plugin: WP-TopBar » Close button leaves a blank white topbar

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Bob

    (@rfgoetz)

    That does not happen on my test sites. What is your URL?

    Plugin Author Bob

    (@rfgoetz)

    That does not happen on my test sites. What is your URL?

    I’ve enabled on a test site. The site is test.stormymondays .com (splitting the url so it won’t get linked). Thanks!

    Plugin Author Bob

    (@rfgoetz)

    Hmmm,, I cannot see the plugin code on that site.

    Are you sure you are visiting test dot stormymondays dot com? Your default topbar loads on the homepage, with the default text.

    I’ve emptied the cache just in case.

    Plugin Author Bob

    (@rfgoetz)

    Ok. I see the issue now. I did not use test.. It will take me a couple of days to get some free time to find the issue and resolve it.

    No problem, I’ll keep the site online. Thanks for an excelletnt plugin, and support!

    Plugin Author Bob

    (@rfgoetz)

    OK — I am back from my business trip.

    I did some testing and was able to duplicate the problem.

    The fix is to add “position:fixed;” to your CSS Option C. That will push your TopBar down, and not overlay the page. So, the CSS would like this:

    position:fixed; top: 40; padding:0; margin:0; width: 100%; z-index: 99999;

    For some reason, when the TopBar does not have “position:fixed”, the webpage is not redrawn correctly when the TopBar is closed. It will take me longer to figure out why that CSS is not working correctly.

    Pls confirm this works for you.

    Bob

    Thanks! I’ve installed it on the test site. The topbar lays on top of the content without moving it downward when it appears. It’s a good workaround until you can find the main CSS problem.

    Plugin Author Bob

    (@rfgoetz)

    Ok, in wp-topbar.php

    Look for this line:

    $html_cookie_out .= ' function close_wptopbar'.($x+1).'() { document.getElementById("topbar'.($x+1).'").style.visibility = "hidden";';

    Change it to:

    $html_cookie_out .= ' function close_wptopbar'.($x+1).'() { jQuery("#wptbheadline'.($x+1).'").toggle();';

    It works on my test site, let me know if it works on your site.

    If so, I’ll put it in the next version.

    Bob

    It works on my test site, thank you!!! 🙂

    Plugin Author Bob

    (@rfgoetz)

    I just pushed version 5.0 with the fix.. and a few more changes.

    Thanks! 🙂

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Close button leaves a blank white topbar’ is closed to new replies.