Tag Info

Hot answers tagged

3

In SharePoint the "page" is actually inside of a DIV and the window really never scrolls... The content inside that DIV does scrolls (unless you have a customized branded site). So although your code will work on a standalone HTML page, it will not in a standard Sharepoint site (2010 and above)... See the solution I posted here to a similar question. ...


1

In the latest version (16.0.3104.1200) of SharePoint Online Client Components SDK available for download currently, Web object exposes AlternateCssUrl and SiteLogoUrl properties: using (var context = new ClientContext(webUri)) { var web = context.Web; web.AlternateCssUrl = web.ServerRelativeUrl + "/SiteAssets/contoso.css"; web.SiteLogoUrl ...



Only top voted, non community-wiki answers of a minimum length are eligible