This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- This HTML is converted to JSON schema for column formatting --> | |
<div style="position: relative; width: 37px; height: 26px; background-color: #aaa;"> | |
<!-- Div having color --> | |
<div style="position: absolute; bottom: 0; left: 0; height: 6px; border: 1px solid #333; width: 8px; z-index: 10000;"></div> | |
<div style="position: absolute; bottom: 0; left: 9px; height: 12px; border: 1px solid #333; width: 8px; z-index: 10000;"></div> | |
<div style="position: absolute; bottom: 0; left: 18px; height: 18px; border: 1px solid #333; width: 8px; z-index: 10000;"></div> | |
<div style="position: absolute; bottom: 0; left: 27px; height: 24px; border: 1px solid #333; width: 8px; z-index: 10000;"></div> | |
<!-- Div not having color --> | |
<div style="position: absolute; top: 0; left: 0; height: 18px; width: 9px; background-color: #fff; z-index: 10000;"></div> | |
<div style="position: absolute; top: 0; left: 9px; height: 12px; width: 9px; background-color: #fff; z-index: 10000;"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$cred = Get-Credential -Message "Login to SPO" | |
Connect-PnPOnline https://<tenant>.sharepoint.com/sites/<site_coll> -Credentials $cred | |
$page = Get-PnPClientSidePage -Identity "Home.aspx" | |
$page.LayoutType | |
Set-PnPClientSidePage -Identity "Home.aspx" -LayoutType Home |