simple Introduction to modifying Master Pages in SharePoint 2013Category: SharePoint2013-07-05 11:10 1565 people read comments (1) favorite reports
1. Open Site Actions: Create an HTML master page in Design manager and the system will automatically generate a master page for . Master
2. Open the SPD editor to check out the new HTML master page, add style= "Overflow:auto;" On top of <body>, add scroll bar
3. at the top of <body> </body> Add banner, the bottom of the footer:
4. Modify theblue one with "SharePoint", which may have links you do not need, perhaps the click will also tell you do not have permission to hide decisively, remember not to delete! Code: Method Use F12 to find the corresponding ID
/*** Hide Navigation below the blue section with SharePoint, Newsfeed, etc. ***/
#Suitebarleft
{
Display:none;
}
/** seems to help the button is not useful, you can hide the need for **/
#Ms-help
{
Display:none;
}
Adjust the page layout see, the editing navigation Ribben transferred to the banner above
In your code
<!--PS: Start preview--><div class= "Defaultcontentblock" style= "Background:rgb (0, 114, 198); Color:white; width:100%; padding:8px; > The SharePoint ribbon will appear here in a real preview of your site. </div><!--PE: End Preview--
The following section of code is the location of the login button
<div id= "loginbtn" style= "width:980px; text-align:right;margin:0 auto; " >
<!--ms:<sharepoint:spsecuritytrimmedcontrol runat= "Server" authenticationrestrictions= "AnonymousUsersOnly" >-->
<!--spm:<wssucw:welcome runat= "Server" enableviewstate= "false"/>-->
<!--me:</sharepoint:spsecuritytrimmedcontrol>-->
</div>
Simple introduction to modifying Master Pages in SharePoint 2013