Skip to content Skip to navigation

Migrating from Stanford Modern to Open Framework based themes

A new family of Drupal 7 themes have been released on Stanford Sites as of the evening of April 9th:

  • Open Framework — a responsive, full-featured base theme that uses Twitter Bootstrap styles. It does not include Stanford branding.
  • Stanford Framework * — a base theme specifically designed for Stanford that includes approved Stanford branding and styles. Stanford Framework is based on Open Framework.
  • Stanford Wilbur * — a robust, stylized subtheme based on Stanford Framework. Ready to use without any additional styling. Stanford Wilbur is based on Stanford Framework.
  • Stanford Jordan * — a robust, stylized subtheme based on Stanford Framework. Ready to use without any additional styling. Stanford Jordan is based on Stanford Framework.

* Stanford-branded themes are available by request for official university group and department websites.

Learn more about the themes release, and see demos of each theme online at

Migrating from another theme

For those of you using Stanford Modern (or any other non- Open Framework based theme), there are a few things to consider if you want to switch to use any of the new themes:

Block regions have changed

You will need to re-assign your blocks to the appropriate regions in your new, Open Framework based theme. For example:

  • The Search Form block needs to be placed in the "Search Box" region.
  • Content placed in the "Page: Feature section" region in Stanford Modern will need to be moved to an appropriate region such as "Highlighted."

To edit your blocks, either hover over the block to click "Configure Block" from the gear drop-down on the top right, OR go to the Blocks administration page and configure each block. If you are using Context, you will need to go to the appropriate context to edit placement of the blocks.

To learn about Open Framework (and its subthemes) block regions, please visit the block regions demo page. This page can help you map your blocks to a new region. Learn more about Open Framework's responsive block regions by watching this Tech Briefing presentation.

CSS Injector styles may not apply or break

If you have any hand-coded CSS Injector styles, you may need to re-write these or discard them as they will most likely not be applicable in the new theme. To quickly test this, just switch the configuration on your CSS Injector rule to only show on the following pages: do-not-show (or make up some other non-existing page name). If this fixes any weird styling issues you see, it probably meant that your CSS Injector rule was not applying correctly in the new theme.

You will need to evaluate each rule to see whether you can discard, edit, or change the rule to apply to the new theme.

The new Admin Shortcuts region

Open Framework family of themes has a new Admin Shortcuts region that is visible only to authenticated users. We use this region to add shortcut links, or other useful content for authenticated users. We have found this to be very useful in addition to using the Admin Menu bar.

You may see some of your blocks appearing in this region when you switch themes. You will need to move those blocks to a different region on your page for them to be visible to anonymous users of your website. Please only use the Admin Shortcuts region for quicklinks and other helpful administrative links for your authenticated users.

Tactics for performing the theme switch

It may take a little time to get all your blocks placed correctly, fix the CSS Injector styles if you have them, and make sure your site looks OK.

For non-Stanford Sites Drupal 7 websites, you can use the switch theme module to switch the theme for a particular user or role.

For Drupal 6, you can allow users of a certain role (e.g. admin) to choose their own theme. In this fashion, you as admin can change the theme just for you, perform the necessary adjustments to block configurations and then when you are ready, switch the theme for the whole site.

For websites on Stanford Sites, you can request a dev site on which to do testing of your themes and come up with a strategy for updating your production site. Follow this documentation:


If you are encountering any issues with using the new themes, please file a HelpSU request at and we will respond as soon as possible.