I have a css script that I want to add to my masterpage, I was wondering how I would do this. I have tried <SharePoint:CssLink Name="site" runat="server" /> and <SharePoint:CssRegistration Name="site" runat="server" /> but these don't seem to work or not find my file


This post describes common cases. In you case you should use something like this

<SharePoint:CssRegistration ID="CssRegistration1" Name="/_layouts/15/SFS.Ashok.Refer/Styles/site-visualwp.css" runat="server" After="corev15.css" />
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.