1

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?

migrated from stackoverflow.com Oct 21 '16 at 11:44

This question came from our site for professional and enthusiast programmers.

1

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.

  • This doesn't decrease the spacing anymore, it removes the Title Header altogether – Colbs Sep 18 '17 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
    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 '16 at 13:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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