Вопрос

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

Это было полезно?

Решение

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

Другие советы

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top