Question

I am working with modern team site created in SPOnline. From the site pages library, I have created a site page and as you know, on this site page, author name and page name becomes visible by default and I believe there is no OOTB way to hide it.

However I am using modern script editor web part so can someone please help me with right css classes to set display:none for those classes.

Thanks in advance. enter image description here

Was it helpful?

Solution

I tested the method mentioned by UBK, which meets your needs.

Before:

enter image description here

Remove profile and Page title: enter image description here

After:

enter image description here

OTHER TIPS

not sure if I have understood your problem correctly, but for the 'Author Name', you can chose to remove it, in which case it would be blank and will not be shown in the published version. As per the site title, I am not sure the reason why you have to hide it, but you can chose to remove the title once the page is saved and it both title and author place holders will not be shown in the published view.

enter image description here

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top