Something like the following should work:
global $blog_id;
if ($blog_id == 1) {
wp_enqueue_style(
'custom-style',
'/wp-content/css/new_styles.css'
);
}
Basically it checks if the person is on blog_id 1 and then loads the respective CSS from the CSS folder (you would need to create this).
This would go in your functions.php
Related Posts:
- restore_current_blog() vs switch_to_blog()
- Which asset URLs are acceptable in a “vanilla” MU install?
- Anyone figured out how to use WordPress MultiSite with Domain Mapping & SSL?
- What do I need to do to convert my MultiSite from HTTP to HTTPS?
- Using MAMP and Xip.io to view a WordPress Multisite on a local network
- REST API for Multisite
- How can I display all Multisite blogs where this user is administrator?
- Multisite: use media from one site vs. copying the same media to all language sites?
- How to make WordPress use new Upload Path settings in Multisite Setup
- Create unique robots.txt for every site on multisite-installation
- WPDB Multiple site’s posts and get featured images
- Using WP CLI to set options in WP Multisite
- “Upgrade Network” error: stuck with SSL certificate verification
- Ideal WP multisite server setup for up to 1000 sites?
- Getting an ERROR: Cookies are blocked error when logging in to a site on a different domain?
- display merged posts from multisite and sort by latest date
- WordPress 3.2(Multisite) – How to add custom user meta fields to signup form?
- WordPress 3.8.1 Multisite blog slug problem
- Transients API and multisite
- WordPress Multisite – Multiple Subdirectories
- Images uploading to wrong directory after changing to multisite
- Why are images uploaded to main domain, when using multisite with different domains?
- Subdomain login problems
- Importing Multiple DB to one MU database
- Determining the compatibility of Settings API & Multisite
- Downgrading a WP3.3.1 Network Install
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help
- Shared User Tables on 2 WordPress Sites; “Main” Site and “Discuss” using P2?
- Create custom role, multisite, add users/sites?
- https redirect hell (adding www)
- How to disable W3 Total Cache “Performance” menu under multisite? [closed]
- How i can get blog info using site url in multi-site
- Embedding screencast.com Videos in WordPress Multisite
- Will revisions be retained when converting to a multi-site?
- How to create sub site in wordpress multisite programmatically?
- Multisite on localhost using xampp
- wp-config dynamic hostname in WP_HOME and WP_SITEURL
- Include only a domain path in multisite Network
- Jetpack API for WordPress Network
- WP doesn’t remove uploads from folder when removed from “Media Library”?
- How does WordPress determine which multisite the user is on from the URL?
- Multiple multisite instances connecting to the same database
- Multisite multidomain
- How can I use WP_Site_Query to find a blog by blog name?
- Limit entries number on network/sites.php
- Apache Site Aliases & WordPress Multisite
- Single sign on for several website domains
- Multi-language site on different domains
- How can I use separate domains for single pages?
- SEO implications of assigning a new domain to a multisite subdomain [closed]
- How can I add custom meta on signup page and pass along to be used after blog activation?
- Conditional Image Sizes for Use via Theme Customizer Upload Only
- How to check main blog in a multisite using if statement?
- Create default pages in wordpress multisite
- WordPress multi-site, developing locally and syncing live changes
- wp_get_attachment_image_src on multisite
- Problem with parked domain for my mutisite
- WordPress multisite – What’s the ideal setup for development/staging/production environments?
- WordPress self hosted site asking to login again when used www
- Error : Cookies are blocked or not supported by your browser
- How To Run Multiple Multi-Site Networks On Same Box [closed]
- Changed sub-site to its own domain trigger 302 redirects for all page links
- Multisite – big hosting package or several hosting packages?
- WordPress network vs Separate installs
- 404 on page 2 multisite
- How can I append blog_id to … echo [functions-defined-constant]?
- Page Builders and WP Multisite
- WordPress Multisite Add User
- How to pull data from child installation to parent theme
- Which is the correct way to migrate content from single WP to WP multisite
- How to have one installation at blog.example.com and multiple blogs in sub folders such as blog.example.com/userA?
- Is a multisite install what I need?
- Infamous admin login redirect
- Running hundreds of WP in multisite
- Manually Moving Posts/Pages/Comments/Tags from WPMU to WP3.0
- Create link preview for theme wordpress
- Bitnami multisite change URL of secondary blog
- Language per user role, how can I achieve this?
- Internet explorer not finding right content from multisite
- Change WordPress multisite to sub-folder installation
- Domain not redirected correctly with WordPress Multisite
- How to add a link of “one” website in posts of “second” website in multisite WordPress
- Themes are visible in Network, but invisible in sites
- No debug log for WP multisite is created
- Can assign a new domain to a site in a multisite?
- Possible to have duplicate usernames on different two multisites
- Main site media are accessible in subsite domain
- Multisite – each site with it’s own set of users
- Including non-wordpress pages within a single multisite domain
- How can I import posts into different wordpress multisites at once?
- Activation of new Registered site fails on multisite
- Migrate site from WordPress multisite to another WordPress multisite
- How to login a user with wp_set_auth_cookie on a specific blog within a multisite environment
- Split a Multisite Into Single WordPress Websites
- Can’t un-archive site after upgrading to WordPress 3.8
- How to handle responsive and non responsive websites in one WordPress Theme?
- Is it possible to put a site other than #1 as a Multisite top-level domain?
- Should I go for Multisite or separate WP Installation?
- Swap domains of two sites with each other in multisite
- Many big issues in the website, WP_Debug not showing