I'm working on a SharePoint online modern view where I'm using Site pages to add the content on the portal. I want to hide the title of the site page at the top like we use to do in on-premise version by adding CSS or script. Is there any way through which I can achieve this ?

Any help on this would be appreciated !

ThanksAttached is the Image for Reference

1 Answer 1


You cannot do this using OOTB capabilities. However I would recommend below things:

  1. If you want to hide the page title from only fixed number of pages (say only 4-5 pages) then I will recommend you to use Modern Script Editor created using SPFx and adding the CSS to hide the page title.

  2. If you want to hide the page title from all modern pages then I would recommend you to use Application customizer to inject the CSS on modern pages.

Inject Custom CSS on SharePoint Modern Pages using SPFx Extensions

  • Hi @Muskan, have you tried this suggestions? Does this answers your question? If Yes, Please Upvote(^) and accept as an Answer so that it will not be shown in unanswered questions list. Apr 9, 2020 at 13:30

Your Answer

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

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