I created a custom CSS file and I linked the file using "Master Page Setting" alternate CSS URL option to the SharePoint 2013 site. It works fine in my computer but it doesn't work from an user's computer. I am not sure why. Any suggestions? I am using seattle.html as a master file.Thanks.
-
1Are you using the Minimal Download Strategy feature on your sites? – Christoffer Sep 11 '15 at 17:53
-
1Where are you hosting the CSS file? Is it in a document library that requires check-in and publishing before files are available to all? – Dylan Cristy Sep 11 '15 at 18:01
You have to check multiple things as issue is not clear:
- First see if your css is checked in and published.If not users will not see this.
- Please look into css if you are finding any issues.
- Also try to add the CSS to the master page using CSS registration tag and publish it.
<SharePoint:CssRegistration name="/_catalogs/masterpage/truesec/truesec.css" runat="server"/>
-
Thanks. I got it. The css file was not published. After I published all users can see the changes. – Slava Gavurin Sep 11 '15 at 18:42
-
Can you please upvote the answer so that it could be helpful to everyone – Amit Kotha Sep 11 '15 at 18:52
-
After the custom css file is uploaded to the SharePoint it's needed to be publish. If it is not publish, the changes won't be seen from users' computers – Slava Gavurin Sep 14 '15 at 13:54