Simple introduction to modifying Master Pages in SharePoint 2013

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.