Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

At the begining, I thought there was an issue with my HTML or CSS files. But then I realized that other people using Wordpress 3.1 had the same problem (check out this link).

The admin bar disappears when I click another 'Pages' or 'Posts,' but it leaves its 28px padding at the top of the page.

I'm not sure if this has something to do with folder's permission issues in ubuntu (I'm using ubuntu 11.04). I did chmod -R 777 to my www folder (the default folder for my locahhost), but I'm still having the same issue.

Any suggestions to fix this?

share|improve this question
    
possible duplicate of Admin Bar CSS left over after removal –  Chris_O May 5 '11 at 21:57

1 Answer 1

up vote 4 down vote accepted

Verify that wp_footer() is being called in all template files, and that the Admin Bar javascript and CSS are being properly hooked into the document head.

share|improve this answer
    
Thanks for helping again. But how can I verify that? –  janoChen May 5 '11 at 15:09
    
For wp_footer(), look in the footer.php template file. For the document head output, I would just look at the browser source, and compare the output in the document head on the Page on which the Admin Bar appears, against the same output in the document head on the Page on which the Admin Bar doesn't appear. –  Chip Bennett May 5 '11 at 16:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.