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– Christoffer2015-09-11 17:53:21 +00:00Commented Sep 11, 2015 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– Dylan Cristy2015-09-11 18:01:46 +00:00Commented Sep 11, 2015 at 18:01
Add a comment
|
1 Answer
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– Slava Gavurin2015-09-11 18:42:04 +00:00Commented Sep 11, 2015 at 18:42
-
Can you please upvote the answer so that it could be helpful to everyoneAmit Kotha– Amit Kotha2015-09-11 18:52:10 +00:00Commented Sep 11, 2015 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' computersSlava Gavurin– Slava Gavurin2015-09-14 13:54:15 +00:00Commented Sep 14, 2015 at 13:54