2

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

1 Answer 1

4

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" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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