WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Earthman Web & Media
    Member
    Posted 2 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');

    http://wordpress.org/extend/plugins/stick-admin-bar-to-bottom/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

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

Tags

No tags yet.