Remove the 28px Push Down from the Admin Bar
For your functions.php file: add_action(‘get_header’, ‘my_filter_head’); function my_filter_head() { remove_action(‘wp_head’, ‘_admin_bar_bump_cb’); } By default, if you are seeing the admin bar as a logged in WordPress user, CSS like this will be output in your head (output in the wp_head() function): <style type=”text/css” media=”screen”> html { margin-top: 28px !important; } * html body { margin-top: … Continue reading Remove the 28px Push Down from the Admin Bar
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed