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
  • Manage themes independently from your main site? – leymannx Mar 3 '19 at 14:25

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
  • Not bad, but OP uses a shared database... – leymannx Mar 3 '19 at 14:21

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.