4

A sub theme relies on its parent. Does that mean I always have to activate both of them?

5

No it doesn't.

So long as the base theme is present, that's OK.

As an example, if you test the Sky theme on Simplytest.me and go to the admin/appearance page, you'll see that Sky is enabled, but the base theme (AdaptiveTheme) is not.

| improve this answer | |
  • 3
    Keeping in mind that if you don't have the base theme enabled you will not receive notification updates if there are any for it. – Nigel Waters Sep 19 '13 at 16:18
  • @NigelWaters This is a very good point! Thanks for that, I'd never even thought about that before hangs head in shame – Chapabu Sep 20 '13 at 7:57
1

In Drupal 8, the base theme is automatically enabled.

https://www.drupal.org/node/2232651

When a sub-theme is installed, then its base theme(s) are installed, too.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.