2

I'm rather new to SharePoint in Office 365, but I have figured out how to customize and override styles in the traditional site master pages. I'm now attempting to remove or at the very least shrink the new title area that comes with the modern page layout (see link below). The title are takes up entirely way too much space for my liking.

1

I have yet to find any documentation as to how this might be accomplished. Has anyone had figured out how to style the SharePoint modern pages yet?

2 Answers 2

2

I was able to remove the spacing by opening the page in the SharePoint designer advanced editor and changing the following:

Change:

<mso:PageLayoutType msdt:dt="string">Article</mso:PageLayoutType>

To:

<mso:PageLayoutType msdt:dt="string">Home</mso:PageLayoutType>

That doesn’t automatically set the page to be the site home page, and I really don’t know what other effects it might have. I realize it is a bit of a hack, but it did seem to correct the spacing issue.

1
  • This doesn't decrease the spacing anymore, it removes the Title Header altogether Sep 18, 2017 at 21:32
-1

create a custom master page or change the existing master.

  1. go to siteSettings --> master pages and page layouts

    select your master page that used.

  2. in at top ribbon 'File',

    to edit click: edit Document.

    to create a new click: download a copy

  3. edit the file: add a style tag to change and override the css like #pageTitle {font-size: 15px}

  4. save the changes (if it's a new master page, upload to master pages list)

    at last checkIn + publish the masterPage

1
  • 1
    That seems to work for the traditional publishing pages, but it doesn't work for the new modern pages. The modern pages that I'm referring to are the ones described here(blogs.office.com/2016/08/31/…).
    – Riley Hale
    Oct 10, 2016 at 13:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.