Drupal 7 – Apply different theme based on path

Recently i have created a mobile website using Drupal. I would like to use another theme instead of the mobile theme in certain pages such as the user login page. This can be done by the ThemeKey module.

1. Instead and enable ThemeKey.

2. Go to admin/config/user-interface/themekey.

3. Create a new theme switching rule. ex. i want to show the Seven theme when the /user page is shown.
drupal-themekey
 

There is another module which could apply the theme base on Context but it is still a sandbox module – Context Reaction: Theme 7.x-1.x-dev.

Done =)

Reference:

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.