Title: HTML adding margin at top
Last modified: August 21, 2016

---

# HTML adding margin at top

 *  [Scott](https://wordpress.org/support/users/sdc05/)
 * (@sdc05)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/html-adding-margin-at-top/)
 * Just logged into a site I’m working on and noticed something new.
 * `<!– We need this for debugging –>
    <!– Responsive 1.9.3.2 –> <!– Responsive 
   Child Theme 1.9.3.1 –> <style type=”text/css” media=”print”>#wpadminbar { display:
   none; }</style> <style type=”text/css” media=”screen”> html { margin-top: 28px!
   important; } * html body { margin-top: 28px !important; } </style>
 * Now I have 28 px of margin at the top of my site that I can’t get rid of. I can’t
   find the code anywhere to delete. Where is it and how do I kill it?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/html-adding-margin-at-top/#post-3892138)
 * You’ll have to post a link to your site for help with CSS issues. Or ask on the
   theme’s dedicated forum here:
 * [http://cyberchimps.com/forum/free/responsive/](http://cyberchimps.com/forum/free/responsive/)
 *  [iNihan](https://wordpress.org/support/users/inihan/)
 * (@inihan)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/html-adding-margin-at-top/#post-3892334)
 * Use this
    <?php function my_function_admin_bar(){ return false; } add_filter(‘
   show_admin_bar’ , ‘my_function_admin_bar’); ?>
 * Code from : [](http://oykko.blogspot.com/2013/07/wordpress-html-adding-margin-at-top-fix.html)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HTML adding margin at top’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/responsive/6.3.7/screenshot.png)
 * Responsive
 * [Support Threads](https://wordpress.org/support/theme/responsive/)
 * [Active Topics](https://wordpress.org/support/theme/responsive/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/responsive/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/responsive/reviews/)

## Tags

 * [style sheet](https://wordpress.org/support/topic-tag/style-sheet/)

 * 2 replies
 * 3 participants
 * Last reply from: [iNihan](https://wordpress.org/support/users/inihan/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/html-adding-margin-at-top/#post-3892334)
 * Status: not resolved