どういうのかって言うと、こういうのです。
こんな余計なのが入ると非常に不愉快。
ということで速攻消すことにしました。
wp-includes内のadmin-bar.php、309行目あたりに以下のような部分があります。
function _admin_bar_bump_cb() { ?>
<style type=”text/css”>
html { margin-top: 28px !important; }
* html body { margin-top: 28px !important; }
</style>
<?php
}
このstyleの部分をそっくり消して、以下のようにすればOK。
function _admin_bar_bump_cb() { ?>
<?php
}
この投稿へのコメント