I've edited the v4.master in the 'my/' site collection to load a custom css file for styling. The problem is, when a user creates their own personal site it loads the default color scheme. I assume that means each new site gets a copy of the default v4.master and not my edited version. Is there an easy way to make is so that, by default, all new personal sites load my custom css?
Delegate controls can do that for you.
<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Control Id="AdditionalPageHead" Sequence="1000" ControlSrc="~/_controltemplates/MySites.Branding/MySitesCss.ascx"> </Control> </Elements>
<!-- Header omitted for brevity/clarity --> <!-- Add custom css registration --> <SharePoint:CssRegistration ID="CssRegistration1" Name="/_layouts/1033/styles/MySites.css" runat="server" After="minimalv4.css" />