15 49.0138 8.38624 1 0 4000 1 https://vladtalkstech.com 300 1
theme-sticky-logo-alt
July 2012

Changing the CSS Style of a SharePoint Site

0 Comments
Hello, Here is a little script that allows you to change the Style Sheets (CSS) applied to your SharePoint Website.                  $mainurl = “http://vlad.test.loc” $cssurl = $mainurl + “/Style%20Library/BMA/styles.css” $web = Get-SPWeb $mainurl $web.AlternateCssUrl = $cssurl $web.AllProperties[“__InheritsAlternateCssUrl”] = $True $web.Update() Enjoy! And say Thanks if it helped 🙂