Sorry, I misposted slightly (and couldn’t find an edit feature).
I meant to say, after trying adding
function fb_adjust_admin_bar() { ?>
<style type="text/css" media="screen">
html{
margin-top:0 !important;
}
* body body{
margin-top:0 !important;
}
</style> <?php
}
add_action( 'wp_head', 'fb_adjust_admin_bar' );
to functions.php, every webpage just displays
<style type="text/css" media="screen">
html{ margin-top:0 !important; }
* body body{ margin-top:0 !important; }
</style>
<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>
…and the lower style overrides the upper one.
How do I fix this?