Forum Discussion

Asesh Kumar Maity's avatar
Asesh Kumar Maity
Brass Contributor
Feb 22, 2019

Trying to Hide the Site Header of a communication site

Hi Experts,

 

I have the requirement to hide the Site Header portion f a SharePoint Communication site.

We can do the same by applying the css "mainRow-xx{ display:none;"}  in the application customizer.

But it is not recommended by the Microsoft and also it is not applicable to all the pages of te site collection.

Can we find the main control of the site header as Object (not css class name, control class name)  in the page. So that in the Application customizer we can get the Object and if the object contains the property of visible.

 

Appreciate your help.

Resources