Accommodating the WordPress.com toolbar in your layout

WordPress.com VIP platform specific

This document is for sites running on WordPress.com VIP.

Learn more

The WordPress.com toolbar will appear for all users logged into WordPress.com. Here’s how to conditionally adapt your page layout based on its presence/absence.

* make use of body_class, typically, in your header.php’s HTML body tag
* provide 25px of margin-top for cases where the admin bar is present

Ready to get started?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.