New answers tagged

2

You can change it in SPO, the risk is that you won't receive updates as Microsoft releases them. The same risk applies on prem, but you have more control over the process. The general guidance is to not touch the master page, but apply CSS and JavaScript customizations instead. If you do customize the master page, know your risks, and test Service pack and ...


0

Ideally you can do it via PowerShell: $web = Get-SPWeb "[target site Url]" $web.MasterUrl = "/_catalogs/masterpage/Custom/mycustom.master" $web.Update()


1

As @Aveenav is suggesting, it may be that your custom master page is missing the "ms-dialogHidden" CSS class on the navigation controls that is design to hide these elements in a modal dialog. From a sample master not the css class: <div class="ms-dialogHidden"> <SharePoint:AjaxDelta ID="DeltaTopNavigation" BlockElement="true" ...


0

Add 'ms-dialogHidden' class to nav and breadcrumb div or section.


0

The white space occupied by is actually QuickLaunch area, you may update masterpage and remove quick launch snippet navigation, or if you can't edit masterpage, you may look through inspector of browser and add display none for the selector and give main content 100% width.


0

#sideNavBox {display: none;}#contentBox {margin-left: 20px;} add this css style and you can hide left site content. also make sure you are making changes in the selected master page.


0

You can use the Sharepoint Designer to do this. Go to 'Master Pages', right click on your master page and click on 'Set as default Master Page'.


0

This has worked for me also. You will need the O365 Management Shell also if not installed. It will need to be run as Administrator. https://www.microsoft.com/en-gb/download/details.aspx?id=35588 Somewhat surprised issue has not been fixed!


0

You don't need to deal with master pages and layouts if all you are trying to do is create web part pages and add a script editor. All you need to do is use a browser and navigate to your Site Pages library(s), create a page, edit the page and add the script web part, add your script and save.


2

OK, I completely edited my answer, see answer versioning to get the comlete previous one. Now that I've seen your markup, here what I think: You should use (note ~site instead of ~sitecollection): <SharePoint:SiteLogoImage ID="xxxxxxxxxxxxxxxxxxxx" LogoImageUrl="&lt;% $SPUrl:~site/_catalogs/masterpage/StarterBranding/logo.jpg %&gt;" ...



Top 50 recent answers are included