WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
HTML adding margin at top (3 posts)

  1. Scott
    Member
    Posted 1 year ago #

    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?

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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/

  3. iNihan
    Member
    Posted 1 year ago #

    Use this
    <?php
    function my_function_admin_bar(){ return false; }
    add_filter( 'show_admin_bar' , 'my_function_admin_bar');
    ?>

    Code from :

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic