Changing the CSS Style of a SharePoint Site
July 18, 2012
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 🙂