Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author rfgoetz

    (@rfgoetz)

    Are you asking:

    1) Can you display the TopBar in the middle of page? This would be if the page is not scrolled. To do this, use this code in CSS Option C. Change top:-300px to move the TopBar up and down the page.

    position:absolute; top:-300px; bottom:0; left:0; right:0;margin:auto; height:100px; width:100%; z-index: 99999;

    Or

    2) Can you display the TopBar after the user scrolls the page down a set number of pixels? To do this, make sure the Scroll Action is set to on (in the Main Options tab.) Then you have to change the PHP code. Look for this line in wp-topbar.php:

    if(jQuery(window).scrollTop()> 0 )

    Change the “>0” to the number of pixels you want.

    Let me know if this answers your question.

    Bob

    Thread Starter ellefrost

    (@ellefrost)

    It was number 2 and it worked great!

    Thank you,

    Elle

    Plugin Author rfgoetz

    (@rfgoetz)

    OK — I’ve added this as an option in the next release so you don’t have to modify the code for every release.

    The next release will come out after WordPress 3.6 comes out.

    Bob

    Plugin Author rfgoetz

    (@rfgoetz)

    Change of plans — I will push out version 5.02 in a few minutes. It has your new field in it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display delay’ is closed to new replies.