1

I have Drupal 8 multisite to benefit from a single codebase. Also they share the same database. How can I change themes of all the other sites from my main domain/site?

Parent and child domain :

- mainsite.com
-- childsite1.com
-- childsite2.com
-- childsite3.com
1
  • Manage themes independently from your main site?
    – leymannx
    Commented Mar 3, 2019 at 14:25

1 Answer 1

1

The README.txt file in Drupal's /themes directory states:

…the sites/your_site_name/themes directory pattern may be used to restrict themes to a specific site instance.

For instance, you might have:

- sites/all/themes/m1
- sites/childsite1.com/themes/c1
- sites/childsite2.com/themes/c2
- sites/childsite3.com/themes/c3
1
  • Not bad, but OP uses a shared database...
    – leymannx
    Commented Mar 3, 2019 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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