Drupal offers a site maintenance mode where the site is inaccessible to end users unless expressly specified. During this period, visitors to the site are presented with a maintenance page. In this recipe, we will be looking at an approach that will allow us to style this page from our theme.
We will be using the Zen-based myzen theme that we created in the last chapter. It is recommended that for the purpose of the recipe, the site is loaded on two separate browser applications the first for the admin account and the other for an anonymous user account. This will make it easier to make changes and verify their effect.
The site can be placed in maintenance mode by navigating to admin/config/development/maintenance
[Home | Administration | Configuration | Development | Maintenance mode] and enabling the Put site into maintenance mode checkbox.