theme-sticky-logo-alt

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 🙂

Previous Post
Importing Managed Metadata TermStore from .csv using PowerShell
Next Post
Changing Sharepoint 2010 site’s theme using PowerShell

0 Comments

    Leave a Reply

    15 49.0138 8.38624 1 0 4000 1 https://vladtalkstech.com 300 1