Created
April 24, 2017 14:01
-
-
Save davidjguru/512a4b24abe1e99d5731ea5060bef236 to your computer and use it in GitHub Desktop.
Change Drupal default theme with Drush
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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