Jump to content
Sign in to follow this  
stipto

multisite with multiple child themes

Recommended Posts

stipto

Hello, Anyone know how to properly set up a multisite with different child themes? Platform Pro and the base theme are both network activated. All sites use the base theme but one change in base.css reflects the same way on all sites. Basically I want some changes to be "global" and some "local". So one main base child theme and every site should have it's sub-base theme as well. Thanks in advance!

Share this post


Link to post
Share on other sites
Sourena

You need to create several child themes, all based on your main PlatformBase child theme. Name them differently and choose them as theme for your different sites.


alefba.us

Web Development & Design for Right-to-Left languages

Share this post


Link to post
Share on other sites
stipto

Thanks Sourena, I will try this one out. Thanks!

Share this post


Link to post
Share on other sites
stipto

Hey Sourena, How to create a new Child Theme? Can't find documentation anywhere. I've copied the platformbase folder and named it differently. Then I renamed the base.css and in style.css I gave it a new title as well. It's not coming up in my Appearance > Themes section. Thanks, Rui.

Share this post


Link to post
Share on other sites
stipto

Okay, I've found a way and don't know if this is "normal". As the network admin, I went to Sites > Edit (on one of my sub-sites). Under Theme I was able to activate my child theme. Then, in the backoffice of my sub-site I could find it under Appearance > Themes and activated it. This only worked on one of the sub-sites. As for the other sub-sites, I can activate the theme as Network Admin but it doesn't appear under Appearance > Themes in the sub-site. Guess this isn't the way to go?

Share this post


Link to post
Share on other sites
Simon

In theory you should be able to enable PatformPro and PlatformBase in the site super admin page. Then when you creat new blogs, they each have their own database but share all the files, so you can activate the same theme as many times on different blogs and they will all have independent settings, you are right about the base.css as they all share the same base.css ;) If you want to have seperate custom css then why not use the custom css box in Platforms settings?

Share this post


Link to post
Share on other sites
stipto

Hey Simon, Indeed, I could put the custom css in the custom.css box. Am gonna try that one out.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×