I would like to add a custom css with v4.master however do not want to edit the actual master page itself.
the idea is to load the custom css on the wiki page.
do we have any way of doing it?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
In addition to Eric's post
You can use also use
ScriptLink together with Custom action and inject your CSS into the
ScriptLink section of masterpage - All without editing a master page (see the sample below)
<CustomAction Id="MyCustomCSSWiki" Location="ScriptLink" ScriptBlock="document.write('<link rel="stylesheet" After="Corev15.css" type="text/css" href="../_layouts/14/MyCustom/Styles/BrandingWiki.css"></' + 'link>');" Sequence="202" />