Stick Admin Bar To Bottom
Fix black-space at top of screen (1 post)

  1. Earthman Web & Media
    Posted 3 years ago #

    In wordpress 3.3.2 this plugin leaves a black bar at the top of the screen, and also shifts absolutely positioned elements with the css, by setting the margin-top of body.admin-bar to -28px.

    I fixed this by:

    1. Changing lines 5-8 in plugins/stick-admin-bar-to-bottom/css/wordpress-3-3.css as follows:

    body.admin-bar {
    	/*margin-top: -28px;*/
    	padding-bottom: 28px;

    2. adding the following code to functions.php:

    function remove__admin_bar_bump_cb(){
    remove_action('wp_head', '_admin_bar_bump_cb');
    add_action('admin_bar_init', 'remove__admin_bar_bump_cb');


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Stick Admin Bar To Bottom
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Earthman Web & Media
  • This topic is not resolved
  • WordPress version: 3.3.2


No tags yet.