It’s a real disaster to start branding with the default v4.master. It’s much easier when everything is commented and outlined like it should be. That’s what I did today.
v4.master
Enjoy it!
v4.master
Enjoy it!
/* Required for IE 5, 6, 7 */ /* ...or something to trigger hasLayout, like zoom: 1; */}
width: 100%;
/* Theoretically for IE 8 & 9 (more valid) */ /* ...but not required as filter works too */ /* should come BEFORE filter */
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
/* This works in IE 8 & 9 too */ /* ... but also 5, 6, 7 */
filter: alpha(opacity=50);
/* Older than Firefox 0.9 */
-moz-opacity:0.5; /* Safari 1.x (pre WebKit!) */
-khtml-opacity: 0.5;
/* Modern! /* Firefox 0.9+, Safari 2, Chrome any? /* Opera 9+, IE 9+ */
opacity: 0.5;
Thanks to my colleague (Laurent Schoenaers) for following css:
body #s4-ribbonrow {background-color: #FFA113; margin-top: -20px;}.ms-siteactionsmenuinner {background:transparent;background-color:#FFA113;border-color:#FFA113;}.ms-cui-topBar2 {border-bottom:0px;}.ms-cui-TabRowRight {margin-top: -12px !important; padding-top: 36px !important;}.ms-cui-ribbonTopBars div {border-bottom:1px solid transparent;}.s4-trc-container-menu {margin:0;}
before:
after:
$web = $site.OpenWeb($site.RootWeb.ID) $list = $web.Lists["Pages"] [Microsoft.SharePoint.Publishing.Fields.HtmlField]$field = [Microsoft.SharePoint.Publishing.Fields.HtmlField]$list.Fields.GetFieldByInternalName("PageContentFld") $field.RichText = $true $field.RichTextMode = [Microsoft.SharePoint.SPRichTextMode]::FullHtml $field.Update() $list.Update()