WordPress 3.1 Feature Causing a headache?
By Adrian, March 8, 2011 no responsesAfter updating to WordPress 3.1, we found the html body of our sites being pushed down a bit. We found this following code injected into the
html { margin-top: 28px !important; } * html body { margin-top: 28px !important; }
The reason this is happening is WordPress is making space for the new admin panel that displays when admins view the live site. There are two fixes for this:
- Insert wp_footer() in your footer.php file
- Or you can open your user profile (Users > Your Profile) and uncheck the ‘Show on Front’ option to make it disappear.
Hope this helps someone.
PIPA and SOPA are two bills going before Congress. The Protect IP Act (PIPA) is being presented before the Senate and the Stop Online Piracy Act (SOPA) before Congress.
