Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save davidjguru/512a4b24abe1e99d5731ea5060bef236 to your computer and use it in GitHub Desktop.
Save davidjguru/512a4b24abe1e99d5731ea5060bef236 to your computer and use it in GitHub Desktop.
Change Drupal default theme with Drush
# How to know what is the current theme on your Drupal site
# move inside project root directory var/www and then
drush status theme
#the above command will tell you the current theme set as default for site and admin both
# Change the site default theme using the below command (use theme name of your choice)
drush vset theme_default garland
# the above command will make garland as default site theme
# now change admin default theme using the below command (use theme name of your choice)
drush vset admin_theme garland
# Do Ctrl+r to flush cache and reload your Drupal Site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment