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 you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.