Take a look at after_switch_theme link
But I would use hooks to insert the css for example in wp_head
This link helps you get the directory of the theme, so you can create the css afterwards.
Related Posts:
- Customizing wp-activate.php
- Subfolder multisite issue. Themes and plugin files 404
- How to run an activation function when plugin is network activated on multisite?
- Allow user to select a theme to install when they signup
- Changing Multisite themes on mass
- Is there an easy way to separate themes on network?
- Hide a theme on list of themes in wp-admin without editing core files
- Can I install a theme on only one site of a multi-site network install?
- Can’t add user to blog on registration (Multisite)
- Multisite configuration fails with css/js files
- Can’t find “Add New” button for themes in a multisite
- Child Theme CSS Not Overriding Parent Theme In MultiSite Site
- How to move theme directory but not plugins/uploads out of WordPress root directory?
- Manipulate list of themes in wp-admin
- How do I add JavaScript that will execute on all my sites in Multisite?
- cant enable theme in multisite
- Creating Admin Options Page where users can make changes to a theme
- Bulk activate a theme on multisite
- Using Two Themes – One for Main Site, One for Ecommerce
- Multi-site get_bloginfo(‘stylesheet_directory’) referring to sub-folder
- Multisite theme control not working
- How do you disable account activation in WPMU and then log the user in right away?
- WordPress MultiSite Theme
- Update configured themes
- How to show different sub sites based on Member’s user name In word press?
- Multisite domain mapping breaks CSS
- Does a single theme license work on multisite? [closed]
- How can I create blog specific database table in multisite?
- How can I manually activate a new site in a wordpress multisite network?
- Is it necessary to network enable both the parent and child theme for multisite installations?
- Trying to change active theme on all sites in Multisite
- Multisite > Edit Site > Themes – what are these themes?
- Activation Account Email
- WordPress multisite with same content
- How to automate setup of theme, pages, widgets, etc for a new site in multi-site?
- Why WordPress w/ Nginx Multisite Only Lets Admin Upload ZIP Plugins But Not Themes? [closed]
- May I do multiple micro-sites with different themes in a single wordpress without subdirectory nor subdomain separation?
- Custom css – WordPress Multisite
- How can I have two or more WordPress Pro (paid) themes that form a single website?
- Create link preview for theme wordpress
- Themes are visible in Network, but invisible in sites
- Activate User account for Sub Site broken
- WordPress theme to support single website but with 3 sections for 3 languages
- WordPress multisite condition for certain blog_id’s
- WordPress Multisite – Auto enable theme
- Activation of new Registered site fails on multisite
- Whats the best Practice for using a different Theme for WebView Apps?
- Creating a stand-alone site from a WordPress sub site
- Site w/ Addon Domain doesn’t show CSS
- Updating themes customized by users
- How to handle responsive and non responsive websites in one WordPress Theme?
- In a MS install, can you allow different users to have their own themes?
- Custom link color or stylesheets
- How to mass change theme for all Multisite network sites?
- Iterating over every multisite / theme and list the pages
- different image for mobile template block theme
- Export/Import Blog Post from and to sites with different themes?
- What’s the difference between get_site_option and get_blog_option?
- multisite 404 error for subdirectory
- How to hide or remove unwanted widgets on Multisite installation?
- How to use WordPress multisite with mixed HTTP and HTTPS sites?
- Removing orphan users in WordPress Multisite
- Sharding BLOGUPLOADDIR
- NGinx + WordPress Subdomain Multi with core in Subdirectory
- Redirect to a Plugin Settings Page After Multisite Site Creation?
- WordPress Multisite – Multiple subfolders for blogs
- Uploading/Deploying a Multi Site Install
- Hook filter to change wp_upload_dir() path in multisite
- How does wordpress multisite manage subdomains?
- Error 101 after upgrading WordPress
- SSL for mapped subdomains in multisite (no plugins)
- How to add new sites and map a custom domain in WordPress Multisite?
- 301 Redirects for posts, category, pages from original domain to sub-domain of multisite
- Trying to migrate a WordPress Multisite with Domain Mapping
- How to update_site_option for specific site within network?
- why when I try to insert an image attachment along with a post does wp_get_attachment_url give me a very wrong file path?
- How to run nested xargs commands?
- Change logo on each page of University Hub theme [closed]
- How to add edit users capability to a custom role?
- Wordrpess Subdomains (Multi-Site) without Wildcard
- Subfolder Multisite : optional www subdomain
- Efficiently manage a huge number of blogs given server-side restrictions
- Create a network of sites
- Icon font not working on subdomains of multisite
- Search post in all blogs in WPMU?
- Plugin Deactivate Self on Activation Errors
- Sitewide category terms
- What is the function to get options of the parent site of a multisite network?
- Issue with htaccess redirection in WP Multisite
- Multisite – sort merged get_posts() queries
- WordPress MultiSite login to the respective site
- API for creating blogs on Multisite?
- WordPress MU Domain Mapping Just Redirects to Main Site
- All subdomains redirecting to mainsite/wp-signup.php after multisite install
- Multisite: cloning, but also updating too
- Using the standard WordPress “New User” interface on a multisite
- 301’s not working with multisite
- InfiiniteWP and WP Networks (multisite)
- Restrict Capability of Administrator to Create, Edit and Delete Pages in Multisite
- Why doesn’t wpmu_new_user work from a plugin when it does from theme?